Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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: 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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, 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.351/1.351, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009201/0.0009202, allocations: 94.69 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.066e-05, allocations: 8.203 kB / 350.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09653, allocations: 51.48 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.346/0.4425, allocations: 94.06 MB / 496.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4428, allocations: 86.73 kB / 496.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07631/0.5191, allocations: 31.56 MB / 0.5154 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5192, allocations: 0 / 0.5154 GB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.964e-05/0.5192, allocations: 16 kB / 0.5154 GB, free: 13.19 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003246/0.5225, allocations: 1.238 MB / 0.5166 GB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.5225, allocations: 11.97 kB / 0.5166 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.525, allocations: 410.3 kB / 0.517 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007767/0.5258, allocations: 0.4922 MB / 0.5175 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.636e-05/0.5259, allocations: 82.22 kB / 0.5176 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.5261, allocations: 109.7 kB / 0.5177 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.5278, allocations: 0.9239 MB / 0.5186 GB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.5278, allocations: 11.91 kB / 0.5186 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.528, allocations: 44 kB / 0.5186 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.528, allocations: 28 kB / 0.5186 GB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.5296, allocations: 0.8991 MB / 0.5195 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005952/0.5356, allocations: 3.812 MB / 0.5232 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.5374, allocations: 1.525 MB / 0.5247 GB, free: 3.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006501/0.5381, allocations: 407.8 kB / 0.5251 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.5383, allocations: 179 kB / 0.5253 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007377/0.5391, allocations: 469.6 kB / 0.5257 GB, free: 2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.677e-06/0.5391, allocations: 0 / 0.5257 GB, free: 2 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.007344/0.5464, allocations: 3.468 MB / 0.5291 GB, free: 14.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.5466, allocations: 230.7 kB / 0.5293 GB, free: 14.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.5471, allocations: 350.8 kB / 0.5297 GB, free: 13.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-05/0.5472, allocations: 49.69 kB / 0.5297 GB, free: 13.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.5476, allocations: 423.6 kB / 0.5301 GB, free: 13.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/0.5479, allocations: 413.9 kB / 0.5305 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.548, allocations: 28 kB / 0.5306 GB, free: 12.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.5482, allocations: 376.3 kB / 0.5309 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005845/0.5487, allocations: 314.6 kB / 0.5312 GB, free: 12.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/0.5495, allocations: 0.5185 MB / 0.5317 GB, free: 11.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/0.5501, allocations: 398.8 kB / 0.5321 GB, free: 11.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.5502, allocations: 7.938 kB / 0.5321 GB, free: 11.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002234/0.5524, allocations: 1.298 MB / 0.5334 GB, free: 9.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5524, allocations: 7.938 kB / 0.5334 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.5525, allocations: 8 kB / 0.5334 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008774/0.5533, allocations: 350.1 kB / 0.5337 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008483/0.5542, allocations: 199.7 kB / 0.5339 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007641/0.5619, allocations: 7.65 MB / 0.5414 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000864/0.5627, allocations: 51.94 kB / 0.5414 GB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.5628, allocations: 52.05 kB / 0.5415 GB, free: 1.109 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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,(1,100.0%) 19,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.5631, allocations: 169.5 kB / 0.5416 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5632, allocations: 71.16 kB / 0.5417 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.5656, allocations: 1.207 MB / 0.5429 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.5656, allocations: 19.98 kB / 0.5429 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.5656, allocations: 8 kB / 0.5429 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.5656, allocations: 7.969 kB / 0.5429 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.5698, allocations: 2.61 MB / 0.5455 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5699, allocations: 128 / 0.5455 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006955/0.5706, allocations: 155.8 kB / 0.5456 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008244/0.5714, allocations: 327.2 kB / 0.5459 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-05/0.5715, allocations: 31.92 kB / 0.546 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007196/0.5787, allocations: 7.379 MB / 0.5532 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5787, allocations: 4.031 kB / 0.5532 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/0.5817, allocations: 1.74 MB / 0.5549 GB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.5821, allocations: 220.3 kB / 0.5551 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.5822, allocations: 23.98 kB / 0.5551 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.5827, allocations: 39.98 kB / 0.5551 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.5829, allocations: 92.86 kB / 0.5552 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/0.583, allocations: 32 kB / 0.5553 GB, free: 2.258 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003225/0.5833, allocations: 269.2 kB / 0.5555 GB, free: 2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5833, allocations: 1.406 kB / 0.5555 GB, free: 2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00123/0.5846, allocations: 339.9 kB / 0.5558 GB, free: 1.668 MB / 426.7 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_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * 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.0003884/0.585, allocations: 234.4 kB / 0.5561 GB, free: 1.434 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002363/0.5873, allocations: 1.536 MB / 0.5576 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5874, allocations: 4 kB / 0.5576 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.5888, allocations: 1.102 MB / 0.5587 GB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.5892, allocations: 51.05 kB / 0.5587 GB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.5921, allocations: 1.46 MB / 0.5601 GB, free: 13.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.5927, allocations: 1.04 MB / 0.5611 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005018/0.5932, allocations: 102.1 kB / 0.5612 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.5934, allocations: 55.42 kB / 0.5613 GB, free: 11.92 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5934, allocations: 0 / 0.5613 GB, free: 11.92 MB / 442.7 MB Notification: Performance of Templates: time 0.01811/0.6115, allocations: 10.56 MB / 0.5716 GB, free: 1.473 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches