Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009691/0.0009691, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000902/0.000902, allocations: 98.47 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.168e-05, allocations: 4 kB / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.5032, allocations: 86.79 MB / 474.4 MB, free: 7.984 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5035, allocations: 89.59 kB / 474.5 MB, free: 7.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06053/0.5641, allocations: 25.28 MB / 499.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5641, allocations: 0 / 499.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.5641, allocations: 16 kB / 499.7 MB, free: 14.28 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003271/0.5674, allocations: 1.1 MB / 0.4891 GB, free: 13.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.321e-05/0.5675, allocations: 12.03 kB / 0.4891 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.5696, allocations: 318.9 kB / 0.4894 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.57, allocations: 250.8 kB / 0.4897 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.57, allocations: 28 kB / 0.4897 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.5702, allocations: 51.91 kB / 0.4897 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001237/0.5714, allocations: 0.6561 MB / 0.4904 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.5727, allocations: 0.681 MB / 0.491 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.5728, allocations: 12 kB / 0.4911 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-05/0.5728, allocations: 3.953 kB / 0.4911 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.5729, allocations: 20 kB / 0.4911 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004772/0.5776, allocations: 2.845 MB / 0.4939 GB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009946/0.5787, allocations: 0.9363 MB / 0.4948 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.579, allocations: 194.5 kB / 0.495 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.5791, allocations: 89.66 kB / 0.495 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.5792, allocations: 47.06 kB / 0.4951 GB, free: 6.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 4.589e-06/0.5792, allocations: 0 / 0.4951 GB, free: 6.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.004645/0.5838, allocations: 1.691 MB / 0.4967 GB, free: 4.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.584, allocations: 85.66 kB / 0.4968 GB, free: 4.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.5843, allocations: 246.2 kB / 0.4971 GB, free: 4.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.5843, allocations: 25.7 kB / 0.4971 GB, free: 4.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.5846, allocations: 354.7 kB / 0.4974 GB, free: 4.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.5847, allocations: 205 kB / 0.4976 GB, free: 3.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.5848, allocations: 0 / 0.4976 GB, free: 3.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5849, allocations: 351.1 kB / 0.4979 GB, free: 3.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.5852, allocations: 186.5 kB / 0.4981 GB, free: 3.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.5857, allocations: 421.1 kB / 0.4985 GB, free: 2.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.5865, allocations: 349.8 kB / 0.4989 GB, free: 2.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.5865, allocations: 3.953 kB / 0.4989 GB, free: 2.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001542/0.588, allocations: 0.7614 MB / 0.4996 GB, free: 1.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5881, allocations: 10.03 kB / 0.4996 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.5881, allocations: 8 kB / 0.4996 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.5884, allocations: 73.61 kB / 0.4997 GB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009567/0.5893, allocations: 211.7 kB / 0.4999 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.5914, allocations: 2.56 MB / 0.5024 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.5921, allocations: 56.08 kB / 0.5025 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/0.5922, allocations: 39.98 kB / 0.5025 GB, free: 14.58 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.5924, allocations: 130.8 kB / 0.5026 GB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001261/0.5937, allocations: 0.5665 MB / 0.5032 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.5938, allocations: 43.53 kB / 0.5032 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.5952, allocations: 0.6609 MB / 0.5039 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.5952, allocations: 8 kB / 0.5039 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5952, allocations: 0 / 0.5039 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.5952, allocations: 3.984 kB / 0.5039 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.5975, allocations: 1.228 MB / 0.5051 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5975, allocations: 0 / 0.5051 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007088/0.5982, allocations: 151.8 kB / 0.5052 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00018/0.5984, allocations: 53.62 kB / 0.5053 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.5985, allocations: 3.984 kB / 0.5053 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.6003, allocations: 2.54 MB / 0.5077 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/0.6003, allocations: 3.953 kB / 0.5078 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.602, allocations: 0.922 MB / 0.5087 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.6023, allocations: 164.7 kB / 0.5088 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/0.6024, allocations: 0 / 0.5088 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005345/0.6029, allocations: 55.94 kB / 0.5089 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.603, allocations: 56.42 kB / 0.5089 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.6031, allocations: 16 kB / 0.5089 GB, free: 7.629 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.6033, allocations: 186 kB / 0.5091 GB, free: 7.449 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6033, allocations: 0 / 0.5091 GB, free: 7.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007998/0.6041, allocations: 155.9 kB / 0.5093 GB, free: 7.297 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002139/0.6062, allocations: 1.522 MB / 0.5107 GB, free: 5.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.6075, allocations: 0.7272 MB / 0.5115 GB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6076, allocations: 1.938 kB / 0.5115 GB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.6081, allocations: 461.6 kB / 0.5119 GB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.6085, allocations: 28.83 kB / 0.5119 GB, free: 4.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.6112, allocations: 0.9183 MB / 0.5128 GB, free: 3.535 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.6117, allocations: 0.8964 MB / 0.5137 GB, free: 2.609 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004963/0.6122, allocations: 92.38 kB / 0.5138 GB, free: 2.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.6126, allocations: 228.5 kB / 0.514 GB, free: 2.293 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6126, allocations: 0 / 0.514 GB, free: 2.293 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.6461, allocations: 9.479 MB / 0.5233 GB, free: 8.855 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.6464, allocations: 185.5 kB / 0.5234 GB, free: 8.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.04, allocations: 1.719 kB / 0.5234 GB, free: 8.66 MB / 410.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat does not exist to compare? outputFormat=mat