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.002589/0.002589, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.002788/0.002788, allocations: 161.2 kB / 25.03 MB, free: 8.93 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 1.408/1.408, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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 1.803e-06/1.803e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.249e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.01038/0.01041, allocations: 6.287 MB / 256.7 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006065/0.01648, allocations: 2.504 MB / 259.2 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007278/0.0172, allocations: 20 kB / 259.2 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003695/0.0209, allocations: 1.341 MB / 260.5 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.0229, allocations: 0.5549 MB / 261.1 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.02568, allocations: 1.21 MB / 262.3 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.02757, allocations: 1.14 MB / 263.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.02925, allocations: 0.77 MB / 264.2 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.03064, allocations: 0.6704 MB / 264.9 MB, free: 9.242 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007488/0.03139, allocations: 434.8 kB / 265.3 MB, free: 8.816 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.03157, allocations: 96 kB / 265.4 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009502/0.03252, allocations: 391.4 kB / 265.8 MB, free: 8.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.03278, allocations: 247 kB / 266 MB, free: 8.098 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005184/0.0333, allocations: 371.1 kB / 266.4 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.03584, allocations: 1.577 MB / 267.9 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.03584, allocations: 4 kB / 267.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.03584, allocations: 0 / 267.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.03586, allocations: 0 / 267.9 MB, free: 6.148 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.004921/0.04078, allocations: 1.952 MB / 269.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.04083, allocations: 8.031 kB / 269.9 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/0.04508, allocations: 0.7728 MB / 270.7 MB, free: 3.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008705/0.04595, allocations: 450.4 kB / 271.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.04605, allocations: 82.67 kB / 271.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.04625, allocations: 119.9 kB / 271.3 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.04843, allocations: 1.026 MB / 272.3 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.04847, allocations: 0 / 272.3 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.04858, allocations: 52 kB / 272.4 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.04861, allocations: 24 kB / 272.4 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.05084, allocations: 0.9889 MB / 273.4 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007163/0.058, allocations: 3.418 MB / 276.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.06018, allocations: 0.8866 MB / 277.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/0.06101, allocations: 406.1 kB / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.06112, allocations: 28.98 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.06216, allocations: 0.5497 MB / 278.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=98): time 2.605e-06/0.06216, allocations: 0 / 278.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=127): time 0.008859/0.07102, allocations: 3.578 MB / 282.3 MB, free: 7.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.07114, allocations: 141.5 kB / 282.4 MB, free: 7.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/0.07182, allocations: 0.5063 MB / 282.9 MB, free: 6.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.519e-05/0.0719, allocations: 45.7 kB / 283 MB, free: 6.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.07242, allocations: 0.5113 MB / 283.5 MB, free: 6.223 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/0.07289, allocations: 476.1 kB / 283.9 MB, free: 5.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004387/0.07333, allocations: 260.5 kB / 284.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0006882/0.07402, allocations: 0.5899 MB / 284.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008261/0.07484, allocations: 342.5 kB / 285.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.07604, allocations: 0.7319 MB / 285.8 MB, free: 3.695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.07803, allocations: 1.113 MB / 287 MB, free: 2.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.07803, allocations: 4 kB / 287 MB, free: 2.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003186/0.08122, allocations: 1.483 MB / 288.4 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.08125, allocations: 8 kB / 288.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.08127, allocations: 4 kB / 288.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/0.08304, allocations: 462.3 kB / 288.9 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/0.08398, allocations: 223.7 kB / 289.1 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.09613, allocations: 10.4 MB / 299.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009082/0.09704, allocations: 48.08 kB / 299.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.851e-05/0.09714, allocations: 44 kB / 299.6 MB, free: 5.297 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.0005921/0.09773, allocations: 308.3 kB / 299.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.09797, allocations: 123.5 kB / 300 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/0.1011, allocations: 1.32 MB / 301.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.1011, allocations: 12 kB / 301.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.1011, allocations: 8 kB / 301.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.1011, allocations: 7.969 kB / 301.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005199/0.1063, allocations: 2.495 MB / 303.9 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.1063, allocations: 0 / 303.9 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/0.1071, allocations: 151.8 kB / 304 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.1087, allocations: 430.5 kB / 304.4 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.003e-05/0.1088, allocations: 31.98 kB / 304.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/0.1204, allocations: 9.935 MB / 314.4 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.1204, allocations: 0 / 314.4 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/0.1244, allocations: 1.939 MB / 316.3 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/0.1248, allocations: 147.4 kB / 316.5 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.1249, allocations: 27.94 kB / 316.5 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.1254, allocations: 35.98 kB / 316.6 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.1257, allocations: 108.7 kB / 316.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.1258, allocations: 32 kB / 316.7 MB, free: 3.531 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004482/0.1262, allocations: 323.1 kB / 317 MB, free: 3.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1262, allocations: 0 / 317 MB, free: 3.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001417/0.1276, allocations: 316 kB / 317.3 MB, free: 2.906 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.0003747/0.128, allocations: 171 kB / 317.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003393/0.1314, allocations: 1.895 MB / 319.4 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1314, allocations: 128 / 319.4 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.1338, allocations: 1.418 MB / 320.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.1344, allocations: 77.45 kB / 320.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.1385, allocations: 1.994 MB / 322.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.1391, allocations: 444.2 kB / 323.3 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004524/0.1396, allocations: 106.2 kB / 323.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.1398, allocations: 60.48 kB / 323.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1398, allocations: 0 / 323.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of Templates: time 0.02543/0.1652, allocations: 11.2 MB / 334.7 MB, free: 1.32 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.110379179008305]