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.0008166/0.0008166, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.002094, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.002118/0.002118, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001988/0.004106, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8971/0.8971, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.145/1.042, allocations: 49.5 MB / 220.6 MB, free: 1.441 MB / 218.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.054e-06/2.054e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.383e-05, allocations: 2.312 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007798/0.007822, allocations: 6.291 MB / 228.1 MB, free: 9.836 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.01162, allocations: 2.612 MB / 230.7 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.01193, allocations: 16 kB / 230.8 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.01341, allocations: 1.345 MB / 232.1 MB, free: 5.844 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009315/0.01434, allocations: 0.5587 MB / 232.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.01566, allocations: 1.191 MB / 233.9 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.01666, allocations: 1.137 MB / 235 MB, free: 2.945 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009173/0.01757, allocations: 0.7663 MB / 235.8 MB, free: 2.152 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006944/0.01827, allocations: 0.693 MB / 236.4 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.0188, allocations: 442.7 kB / 236.9 MB, free: 1.027 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.01893, allocations: 100 kB / 237 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.01949, allocations: 419.3 kB / 237.4 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.01959, allocations: 171.4 kB / 237.6 MB, free: 360 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.01982, allocations: 307.4 kB / 237.9 MB, free: 52 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.02083, allocations: 0.9887 MB / 238.8 MB, free: 15.06 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.02084, allocations: 0 / 238.8 MB, free: 15.06 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.02084, allocations: 0 / 238.8 MB, free: 15.06 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.02086, allocations: 0 / 238.8 MB, free: 15.06 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.002352/0.02322, allocations: 1.941 MB / 240.8 MB, free: 13.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.703e-05/0.02324, allocations: 8.031 kB / 240.8 MB, free: 13.06 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.02517, allocations: 0.8278 MB / 241.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.02558, allocations: 303.8 kB / 241.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.02564, allocations: 90.67 kB / 242 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.02574, allocations: 123.9 kB / 242.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.02675, allocations: 0.7293 MB / 242.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.02677, allocations: 0 / 242.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/0.02682, allocations: 52 kB / 242.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.02684, allocations: 31.98 kB / 242.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.02729, allocations: 397 kB / 243.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.02997, allocations: 2.378 MB / 245.7 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.03066, allocations: 0.6703 MB / 246.4 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.03087, allocations: 219.5 kB / 246.6 MB, free: 7.047 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-05/0.03094, allocations: 32.98 kB / 246.6 MB, free: 7.016 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.03124, allocations: 397.7 kB / 247 MB, free: 6.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=98): time 1.723e-06/0.03124, allocations: 0 / 247 MB, free: 6.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=105): time 0.002884/0.03413, allocations: 2.196 MB / 249.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002769/0.0344, allocations: 90.11 kB / 249.3 MB, free: 4.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.0346, allocations: 355.1 kB / 249.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.03463, allocations: 45.7 kB / 249.7 MB, free: 3.844 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.03478, allocations: 436.9 kB / 250.1 MB, free: 3.406 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.03494, allocations: 368.7 kB / 250.5 MB, free: 3.043 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.0351, allocations: 198.8 kB / 250.7 MB, free: 2.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.03519, allocations: 378.7 kB / 251 MB, free: 2.461 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.03531, allocations: 118.6 kB / 251.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.03555, allocations: 401.2 kB / 251.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.03595, allocations: 0.5422 MB / 252.1 MB, free: 1.238 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.03595, allocations: 0 / 252.1 MB, free: 1.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0006291/0.03658, allocations: 0.677 MB / 252.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.03659, allocations: 12.09 kB / 252.8 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.0366, allocations: 4 kB / 252.8 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.03699, allocations: 218.2 kB / 253 MB, free: 316 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.03744, allocations: 251.6 kB / 253.2 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.03984, allocations: 4.493 MB / 257.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.04009, allocations: 48.02 kB / 257.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.04012, allocations: 36 kB / 257.8 MB, free: 11.23 MB / 266.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 (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.04028, allocations: 176.3 kB / 258 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.04035, allocations: 75.94 kB / 258.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006069/0.04095, allocations: 0.6065 MB / 258.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.04096, allocations: 12 kB / 258.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.04096, allocations: 4 kB / 258.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.04097, allocations: 3.984 kB / 258.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.04211, allocations: 1.085 MB / 259.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.04211, allocations: 4 kB / 259.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.04246, allocations: 183.6 kB / 260 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.04258, allocations: 67.56 kB / 260 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/0.04294, allocations: 222.6 kB / 260.2 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.04296, allocations: 19.98 kB / 260.3 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.04527, allocations: 4.507 MB / 264.8 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.04527, allocations: 4 kB / 264.8 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.04599, allocations: 0.8295 MB / 265.6 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.04604, allocations: 20 kB / 265.6 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.04621, allocations: 35.98 kB / 265.6 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.04629, allocations: 76.78 kB / 265.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.04632, allocations: 20 kB / 265.7 MB, free: 2.914 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.04641, allocations: 136.7 kB / 265.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04641, allocations: 0 / 265.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005107/0.04692, allocations: 283.9 kB / 266.2 MB, free: 2.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.04708, allocations: 140.4 kB / 266.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007172/0.0478, allocations: 0.9319 MB / 267.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/0.04782, allocations: 16.44 kB / 267.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004532/0.04827, allocations: 0.7209 MB / 268 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.04853, allocations: 129.8 kB / 268.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007019/0.05555, allocations: 1.77 MB / 269.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.05571, allocations: 198.4 kB / 270 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.05603, allocations: 101.5 kB / 270.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.05624, allocations: 147.3 kB / 270.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of SimCode: time 2.014e-06/0.05624, allocations: 0 / 270.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of Templates: time 0.01516/0.07139, allocations: 9.822 MB / 280.1 MB, free: 4.383 MB / 282.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 -ignoreHideResult -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: 2.8404907202348113]