Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001258/0.001258, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008441/0.0008443, allocations: 92.17 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.609e-05/4.621e-05, allocations: 8 kB / 350.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 51.49 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.4749, allocations: 88.33 MB / 490.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004291/0.4754, allocations: 91.11 kB / 490.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08759/0.563, allocations: 27.1 MB / 0.5055 GB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5631, allocations: 0 / 0.5055 GB, free: 7.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.289e-05/0.5631, allocations: 12 kB / 0.5055 GB, free: 7.332 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.004445/0.5676, allocations: 1.115 MB / 0.5066 GB, free: 6.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.5676, allocations: 12.03 kB / 0.5066 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003816/0.568, allocations: 132.6 kB / 0.5068 GB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.5704, allocations: 318.9 kB / 0.5071 GB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.5709, allocations: 251.6 kB / 0.5073 GB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.571, allocations: 69.61 kB / 0.5074 GB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.5713, allocations: 84 kB / 0.5075 GB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.573, allocations: 0.8135 MB / 0.5083 GB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.5731, allocations: 0 / 0.5083 GB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/0.5732, allocations: 32 kB / 0.5083 GB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.5732, allocations: 23.94 kB / 0.5083 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.5745, allocations: 0.6991 MB / 0.509 GB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005144/0.5797, allocations: 3.061 MB / 0.512 GB, free: 448 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.5809, allocations: 0.9634 MB / 0.5129 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.5812, allocations: 209 kB / 0.5131 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.5815, allocations: 174.8 kB / 0.5133 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.5815, allocations: 39.12 kB / 0.5133 GB, free: 14.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=58): time 2.905e-06/0.5815, allocations: 0.75 kB / 0.5133 GB, free: 14.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.005746/0.5873, allocations: 1.832 MB / 0.5151 GB, free: 13.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.5874, allocations: 81.67 kB / 0.5152 GB, free: 12.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.5878, allocations: 275.1 kB / 0.5155 GB, free: 12.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.5878, allocations: 33.7 kB / 0.5155 GB, free: 12.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.5881, allocations: 362.6 kB / 0.5158 GB, free: 12.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.5883, allocations: 205 kB / 0.516 GB, free: 12.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.5883, allocations: 16 kB / 0.516 GB, free: 12.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.5885, allocations: 355.5 kB / 0.5164 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.5889, allocations: 198 kB / 0.5166 GB, free: 11.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.5895, allocations: 436.5 kB / 0.517 GB, free: 10.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.59, allocations: 267.1 kB / 0.5172 GB, free: 10.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.59, allocations: 4 kB / 0.5172 GB, free: 10.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001341/0.5913, allocations: 0.7542 MB / 0.518 GB, free: 9.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.5914, allocations: 8 kB / 0.518 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5914, allocations: 8 kB / 0.518 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.5917, allocations: 72.47 kB / 0.5181 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009202/0.5926, allocations: 223.7 kB / 0.5183 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.5948, allocations: 2.648 MB / 0.5209 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008332/0.5957, allocations: 87.84 kB / 0.521 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/0.5958, allocations: 35.98 kB / 0.521 GB, free: 6.547 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.0002112/0.596, allocations: 160.6 kB / 0.5211 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.108e-05/0.5961, allocations: 39.53 kB / 0.5212 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.5974, allocations: 0.5985 MB / 0.5218 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.5974, allocations: 8 kB / 0.5218 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5974, allocations: 7.984 kB / 0.5218 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5974, allocations: 0 / 0.5218 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.5995, allocations: 1.289 MB / 0.523 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.5996, allocations: 0 / 0.523 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.6003, allocations: 151.8 kB / 0.5232 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/0.6005, allocations: 49.69 kB / 0.5232 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.6006, allocations: 19.98 kB / 0.5232 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.6027, allocations: 2.653 MB / 0.5258 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.6027, allocations: 0 / 0.5258 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.6042, allocations: 0.8868 MB / 0.5267 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.6045, allocations: 164.5 kB / 0.5269 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.6045, allocations: 12 kB / 0.5269 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.6051, allocations: 60.02 kB / 0.5269 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.6053, allocations: 48.48 kB / 0.527 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.6053, allocations: 19.98 kB / 0.527 GB, free: 8 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002764/0.6056, allocations: 198.2 kB / 0.5272 GB, free: 15.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6056, allocations: 0 / 0.5272 GB, free: 15.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008867/0.6065, allocations: 192 kB / 0.5274 GB, free: 15.62 MB / 410.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.002158/0.6087, allocations: 1.534 MB / 0.5289 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.6102, allocations: 0.7695 MB / 0.5296 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6102, allocations: 4.25 kB / 0.5296 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.6109, allocations: 492.3 kB / 0.5301 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.6113, allocations: 39.39 kB / 0.5301 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.6141, allocations: 0.9762 MB / 0.5311 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.6146, allocations: 0.8925 MB / 0.532 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005491/0.6152, allocations: 96.5 kB / 0.532 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.6156, allocations: 231.3 kB / 0.5323 GB, free: 10.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.943e-06/0.6156, allocations: 0 / 0.5323 GB, free: 10.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.6447, allocations: 10.81 MB / 0.5428 GB, free: 15.96 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/0.6451, allocations: 209.4 kB / 0.543 GB, free: 15.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.101, allocations: 4.062 kB / 0.543 GB, free: 15.73 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat does not exist to compare? outputFormat=mat