Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 87.77 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.395e-05, allocations: 7.984 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3507, allocations: 47.56 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5039, allocations: 90.07 MB / 452.4 MB, free: 12.23 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.5043, allocations: 84.7 kB / 452.5 MB, free: 12.15 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1253/0.6296, allocations: 30.27 MB / 482.8 MB, free: 13.62 MB / 379.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6297, allocations: 0 / 482.8 MB, free: 13.62 MB / 379.1 MB Notification: Performance of Transformations before backend: time 4.521e-05/0.6297, allocations: 20 kB / 482.8 MB, free: 13.6 MB / 379.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005345/0.6351, allocations: 1.249 MB / 484 MB, free: 12.31 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.6351, allocations: 8.031 kB / 484 MB, free: 12.3 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004803/0.64, allocations: 467.8 kB / 484.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.6415, allocations: 0.4996 MB / 485 MB, free: 11.3 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.6417, allocations: 36 kB / 485 MB, free: 11.26 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.642, allocations: 68 kB / 485.1 MB, free: 11.2 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003194/0.6452, allocations: 0.9066 MB / 486 MB, free: 10.29 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.648, allocations: 0.7837 MB / 486.8 MB, free: 9.477 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.459e-05/0.6481, allocations: 7.906 kB / 486.8 MB, free: 9.469 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.6483, allocations: 0 / 486.8 MB, free: 9.469 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.6483, allocations: 28 kB / 486.8 MB, free: 9.441 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.6596, allocations: 3.713 MB / 490.5 MB, free: 5.52 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.6629, allocations: 1.982 MB / 492.5 MB, free: 3.27 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.6641, allocations: 387.7 kB / 492.9 MB, free: 2.891 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.6643, allocations: 109.9 kB / 493 MB, free: 2.766 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.6654, allocations: 432.1 kB / 493.4 MB, free: 2.309 MB / 379.1 MB Notification: Performance of pre-optimization done (n=98): time 4.318e-06/0.6654, allocations: 0 / 493.4 MB, free: 2.309 MB / 379.1 MB Notification: Performance of matching and sorting (n=124): time 0.01304/0.6785, allocations: 3.423 MB / 496.8 MB, free: 14.81 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.6787, allocations: 226.8 kB / 497.1 MB, free: 14.55 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/0.6794, allocations: 318.1 kB / 497.4 MB, free: 14.22 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.6796, allocations: 25.7 kB / 497.4 MB, free: 14.19 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000519/0.6801, allocations: 493.8 kB / 497.9 MB, free: 13.7 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/0.6807, allocations: 405.9 kB / 498.3 MB, free: 13.3 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.709e-05/0.6808, allocations: 0 / 498.3 MB, free: 13.3 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.681, allocations: 354.8 kB / 498.6 MB, free: 12.95 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008561/0.6818, allocations: 298.6 kB / 498.9 MB, free: 12.66 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.683, allocations: 0.5251 MB / 499.4 MB, free: 12.04 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.6851, allocations: 0.515 MB / 500 MB, free: 11.52 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.6851, allocations: 8 kB / 500 MB, free: 11.52 MB / 395.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004758/0.6899, allocations: 1.345 MB / 0.4896 GB, free: 10.15 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.69, allocations: 12 kB / 0.4896 GB, free: 10.14 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.69, allocations: 11.95 kB / 0.4896 GB, free: 10.13 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.6916, allocations: 343.1 kB / 0.4899 GB, free: 9.781 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.6935, allocations: 211.7 kB / 0.4901 GB, free: 9.574 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.7047, allocations: 7.343 MB / 0.4973 GB, free: 1.766 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.706, allocations: 32.05 kB / 0.4973 GB, free: 1.734 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.7062, allocations: 44 kB / 0.4974 GB, free: 1.691 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(2,100.0%) 18,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003083/0.7065, allocations: 132.5 kB / 0.4975 GB, free: 1.555 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.7067, allocations: 75.09 kB / 0.4975 GB, free: 1.48 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/0.7111, allocations: 1.234 MB / 0.4988 GB, free: 232 kB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/0.7111, allocations: 16 kB / 0.4988 GB, free: 216 kB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.7112, allocations: 7.953 kB / 0.4988 GB, free: 208 kB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.7112, allocations: 11.98 kB / 0.4988 GB, free: 196 kB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2837/0.9949, allocations: 2.518 MB / 0.5012 GB, free: 106.7 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.995, allocations: 3.375 kB / 0.5013 GB, free: 106.7 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.9964, allocations: 152.7 kB / 0.5014 GB, free: 106.7 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.9979, allocations: 314.7 kB / 0.5017 GB, free: 106.7 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/0.9981, allocations: 11.59 kB / 0.5017 GB, free: 106.7 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009257/1.007, allocations: 7.087 MB / 0.5086 GB, free: 101.8 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.007, allocations: 5.719 kB / 0.5086 GB, free: 101.8 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/1.013, allocations: 1.768 MB / 0.5104 GB, free: 101.5 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005647/1.013, allocations: 219.9 kB / 0.5106 GB, free: 101.3 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/1.013, allocations: 7.359 kB / 0.5106 GB, free: 101.3 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008712/1.014, allocations: 20.72 kB / 0.5106 GB, free: 101.3 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/1.015, allocations: 96.61 kB / 0.5107 GB, free: 101.3 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/1.015, allocations: 34.72 kB / 0.5107 GB, free: 101.3 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003914/1.015, allocations: 235.2 kB / 0.5109 GB, free: 101.2 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.015, allocations: 0 / 0.5109 GB, free: 101.2 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001946/1.017, allocations: 271.9 kB / 0.5112 GB, free: 101.2 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,currentSensorQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(2,100.0%) 18,(1,100.0%) 4,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004623/1.018, allocations: 181.4 kB / 0.5114 GB, free: 101.1 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003563/1.021, allocations: 1.474 MB / 0.5128 GB, free: 100.7 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.021, allocations: 1.219 kB / 0.5128 GB, free: 100.7 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/1.024, allocations: 1.048 MB / 0.5138 GB, free: 100.2 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/1.025, allocations: 28.06 kB / 0.5139 GB, free: 100.2 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008428/1.033, allocations: 1.999 MB / 0.5158 GB, free: 99.78 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008821/1.034, allocations: 1.044 MB / 0.5168 GB, free: 99.06 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000534/1.035, allocations: 67.84 kB / 0.5169 GB, free: 99.05 MB / 395.1 MB Notification: Performance of SimCode: time 1.523e-06/1.035, allocations: 0 / 0.5169 GB, free: 99.05 MB / 395.1 MB Notification: Performance of Templates: time 0.03948/1.074, allocations: 25.07 MB / 0.5414 GB, free: 94.91 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches