Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001919/0.001919, allocations: 179 kB / 18.04 MB, free: 3.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 224.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007525/0.0007526, allocations: 93 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002839, allocations: 11.98 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09615/0.292, allocations: 90.96 MB / 468 MB, free: 5.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.2923, allocations: 87.95 kB / 468.1 MB, free: 5.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07298/0.3652, allocations: 30.62 MB / 498.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3653, allocations: 4 kB / 498.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.256e-05/0.3653, allocations: 20 kB / 498.7 MB, free: 6.512 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.003225/0.3685, allocations: 1.278 MB / 500 MB, free: 5.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3686, allocations: 8.031 kB / 500 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.3716, allocations: 471.2 kB / 0.4887 GB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007508/0.3723, allocations: 0.5092 MB / 0.4892 GB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/0.3724, allocations: 86.3 kB / 0.4893 GB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.3726, allocations: 115.9 kB / 0.4894 GB, free: 3.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.3744, allocations: 1.014 MB / 0.4904 GB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.3745, allocations: 3.984 kB / 0.4904 GB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.927e-05/0.3746, allocations: 47.98 kB / 0.4905 GB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.3746, allocations: 28 kB / 0.4905 GB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.3766, allocations: 1.044 MB / 0.4915 GB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1549/0.5316, allocations: 3.907 MB / 0.4953 GB, free: 93.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.5336, allocations: 2.055 MB / 0.4973 GB, free: 91.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007005/0.5343, allocations: 438.3 kB / 0.4977 GB, free: 91.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.332e-05/0.5344, allocations: 100.9 kB / 0.4978 GB, free: 91.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007515/0.5352, allocations: 496.2 kB / 0.4983 GB, free: 91.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 4.979e-06/0.5352, allocations: 2.953 kB / 0.4983 GB, free: 91.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.008464/0.5437, allocations: 4.214 MB / 0.5024 GB, free: 90.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.5438, allocations: 225.2 kB / 0.5026 GB, free: 90.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.5442, allocations: 414.5 kB / 0.503 GB, free: 89.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.5443, allocations: 45.64 kB / 0.5031 GB, free: 89.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.5445, allocations: 439.8 kB / 0.5035 GB, free: 89.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.5448, allocations: 423 kB / 0.5039 GB, free: 89.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.5448, allocations: 29.03 kB / 0.5039 GB, free: 89.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.5449, allocations: 376.3 kB / 0.5043 GB, free: 89.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.5456, allocations: 353.2 kB / 0.5046 GB, free: 89.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/0.5463, allocations: 0.5891 MB / 0.5052 GB, free: 88.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.5477, allocations: 0.993 MB / 0.5062 GB, free: 88.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.5477, allocations: 3.406 kB / 0.5062 GB, free: 88.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00218/0.5499, allocations: 1.41 MB / 0.5076 GB, free: 88.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5499, allocations: 7.875 kB / 0.5076 GB, free: 88.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.5499, allocations: 6.406 kB / 0.5076 GB, free: 88.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007955/0.5507, allocations: 352.6 kB / 0.5079 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007952/0.5515, allocations: 212.5 kB / 0.5081 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.557, allocations: 7.679 MB / 0.5156 GB, free: 82.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/0.5577, allocations: 51.31 kB / 0.5157 GB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.5578, allocations: 47.22 kB / 0.5157 GB, free: 82.89 MB / 378.7 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 () * Number of clocked 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,(1,100.0%) 19,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003991/0.5582, allocations: 274.6 kB / 0.516 GB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.5583, allocations: 74.22 kB / 0.516 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.5605, allocations: 1.266 MB / 0.5173 GB, free: 82.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.5605, allocations: 11.53 kB / 0.5173 GB, free: 82.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.5605, allocations: 7 kB / 0.5173 GB, free: 82.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.5605, allocations: 9.797 kB / 0.5173 GB, free: 82.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/0.564, allocations: 2.7 MB / 0.5199 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.564, allocations: 4.031 kB / 0.5199 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/0.5646, allocations: 151.8 kB / 0.5201 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000671/0.5653, allocations: 324.1 kB / 0.5204 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.5654, allocations: 25.5 kB / 0.5204 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005009/0.5704, allocations: 7.419 MB / 0.5277 GB, free: 74.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5704, allocations: 5.5 kB / 0.5277 GB, free: 74.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.573, allocations: 1.776 MB / 0.5294 GB, free: 73.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.5733, allocations: 225.1 kB / 0.5296 GB, free: 73.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.5734, allocations: 22.28 kB / 0.5296 GB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.5739, allocations: 51.25 kB / 0.5297 GB, free: 73.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.574, allocations: 90.05 kB / 0.5298 GB, free: 73.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.5741, allocations: 35.11 kB / 0.5298 GB, free: 73.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002317/0.5743, allocations: 277.3 kB / 0.5301 GB, free: 72.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5743, allocations: 0 / 0.5301 GB, free: 72.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001137/0.5755, allocations: 338.9 kB / 0.5304 GB, free: 72.81 MB / 378.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) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * 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.0003023/0.5758, allocations: 188.5 kB / 0.5306 GB, free: 72.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.578, allocations: 1.633 MB / 0.5322 GB, free: 71.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.578, allocations: 3.938 kB / 0.5322 GB, free: 71.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.5793, allocations: 1.143 MB / 0.5333 GB, free: 71.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.5799, allocations: 78.11 kB / 0.5334 GB, free: 71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.5837, allocations: 2.446 MB / 0.5357 GB, free: 69.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.5842, allocations: 1.027 MB / 0.5367 GB, free: 68.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005235/0.5848, allocations: 104.4 kB / 0.5368 GB, free: 68.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.5849, allocations: 54.39 kB / 0.5369 GB, free: 68.81 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5849, allocations: 0 / 0.5369 GB, free: 68.81 MB / 378.7 MB Notification: Performance of Templates: time 0.01644/0.6014, allocations: 10.3 MB / 0.547 GB, free: 64.48 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches