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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009619/0.0009619, allocations: 75.77 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 162.6 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9973/0.9973, allocations: 158.6 MB / 187.5 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,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=5011,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 251.1 MB, free: 7.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.253e-05, allocations: 6.312 kB / 251.1 MB, free: 7.762 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008987/0.009019, allocations: 6.329 MB / 257.4 MB, free: 1.395 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.01399, allocations: 2.5 MB / 259.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009394/0.01493, allocations: 23.94 kB / 260 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.01764, allocations: 1.349 MB / 261.3 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.01949, allocations: 0.5509 MB / 261.9 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.02173, allocations: 1.199 MB / 263.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.02365, allocations: 1.129 MB / 264.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.02503, allocations: 0.7778 MB / 265 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.02603, allocations: 0.6665 MB / 265.6 MB, free: 9.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007321/0.02676, allocations: 434.7 kB / 266.1 MB, free: 8.719 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.02694, allocations: 100 kB / 266.2 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.02795, allocations: 391.4 kB / 266.5 MB, free: 8.238 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.02816, allocations: 247 kB / 266.8 MB, free: 7.996 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.0286, allocations: 367.1 kB / 267.1 MB, free: 7.637 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.03038, allocations: 1.086 MB / 268.2 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.03039, allocations: 0 / 268.2 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.03039, allocations: 0 / 268.2 MB, free: 6.547 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.03042, allocations: 4 kB / 268.2 MB, free: 6.543 MB / 250.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.004279/0.0347, allocations: 1.839 MB / 270.1 MB, free: 4.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.03475, allocations: 8.031 kB / 270.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.0388, allocations: 0.7688 MB / 270.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.03982, allocations: 454.4 kB / 271.3 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.03991, allocations: 86.61 kB / 271.4 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.04009, allocations: 119.9 kB / 271.5 MB, free: 3.207 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.04176, allocations: 0.8037 MB / 272.3 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.0418, allocations: 0 / 272.3 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.0419, allocations: 48 kB / 272.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.04193, allocations: 28 kB / 272.4 MB, free: 2.285 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.04334, allocations: 0.5755 MB / 272.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.04732, allocations: 2.951 MB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.0484, allocations: 0.7967 MB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.04879, allocations: 286.3 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.019e-05/0.04886, allocations: 28.98 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/0.04936, allocations: 446.8 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=98): time 3.026e-06/0.04936, allocations: 0 / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=127): time 0.004391/0.05375, allocations: 2.879 MB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.05382, allocations: 145.5 kB / 280.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.05415, allocations: 422.5 kB / 280.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.0542, allocations: 57.7 kB / 280.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.05444, allocations: 0.4956 MB / 281.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.05469, allocations: 452.1 kB / 281.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.05492, allocations: 232.5 kB / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.05508, allocations: 0.5508 MB / 282.6 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.05541, allocations: 202.5 kB / 282.8 MB, free: 7.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.05589, allocations: 0.5639 MB / 283.4 MB, free: 6.805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008338/0.05673, allocations: 0.7691 MB / 284.2 MB, free: 5.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.05673, allocations: 0 / 284.2 MB, free: 5.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001472/0.0582, allocations: 1.147 MB / 285.3 MB, free: 4.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.05822, allocations: 8 kB / 285.3 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.05823, allocations: 8 kB / 285.3 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008732/0.05911, allocations: 390.4 kB / 285.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.05961, allocations: 219.7 kB / 285.9 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005672/0.06528, allocations: 9.366 MB / 295.3 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.06574, allocations: 48.27 kB / 295.3 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.06579, allocations: 48 kB / 295.4 MB, free: 10.19 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002869/0.06608, allocations: 236.2 kB / 295.6 MB, free: 9.945 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.06621, allocations: 119.5 kB / 295.7 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.06754, allocations: 1.019 MB / 296.8 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.06755, allocations: 12 kB / 296.8 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.06756, allocations: 8 kB / 296.8 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.06757, allocations: 3.984 kB / 296.8 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.06999, allocations: 1.967 MB / 298.8 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.06999, allocations: 4 kB / 298.8 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.07037, allocations: 143.8 kB / 298.9 MB, free: 6.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007792/0.07115, allocations: 378.7 kB / 299.3 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-05/0.0712, allocations: 24 kB / 299.3 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005153/0.07636, allocations: 8.997 MB / 308.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.07636, allocations: 7.984 kB / 308.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.07811, allocations: 1.403 MB / 309.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.07833, allocations: 143.5 kB / 309.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.0784, allocations: 35.88 kB / 309.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.07865, allocations: 35.98 kB / 309.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.07882, allocations: 100.8 kB / 310 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.07886, allocations: 35.98 kB / 310 MB, free: 10.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.07906, allocations: 271.1 kB / 310.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07906, allocations: 0 / 310.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008993/0.07996, allocations: 319.9 kB / 310.6 MB, free: 10.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.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 (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002715/0.08023, allocations: 171 kB / 310.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.08185, allocations: 1.59 MB / 312.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.08185, allocations: 0 / 312.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009452/0.0828, allocations: 1.254 MB / 313.6 MB, free: 7.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.08318, allocations: 81.55 kB / 313.7 MB, free: 7.035 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.08604, allocations: 1.857 MB / 315.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.08624, allocations: 215.7 kB / 315.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.08651, allocations: 102.2 kB / 315.9 MB, free: 4.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.08663, allocations: 56.48 kB / 315.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of SimCode: time 1.293e-06/0.08663, allocations: 4 kB / 315.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of Templates: time 0.01562/0.1023, allocations: 11.19 MB / 327.1 MB, free: 9.543 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.22759608598426]