Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001442/0.001442, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001845/0.001845, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.846e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.009305/0.009334, allocations: 5.851 MB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005694/0.01503, allocations: 2.479 MB / 280.6 MB, free: 9.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005554/0.01558, allocations: 16 kB / 280.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.01901, allocations: 1.255 MB / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.02062, allocations: 0.5277 MB / 282.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003018/0.02364, allocations: 1.191 MB / 283.6 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.02524, allocations: 1.113 MB / 284.8 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.02652, allocations: 0.7739 MB / 285.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009108/0.02743, allocations: 0.6548 MB / 286.2 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006832/0.02811, allocations: 418.8 kB / 286.6 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.02827, allocations: 100 kB / 286.7 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000877/0.02914, allocations: 391.4 kB / 287.1 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.02939, allocations: 243 kB / 287.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.02984, allocations: 363.1 kB / 287.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.03193, allocations: 1.577 MB / 289.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.03194, allocations: 0 / 289.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.03194, allocations: 0 / 289.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.03195, allocations: 3.938 kB / 289.2 MB, free: 0.8047 MB / 266.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.1179/0.1499, allocations: 1.673 MB / 290.9 MB, free: 28.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1499, allocations: 10.16 kB / 290.9 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/0.1533, allocations: 0.6396 MB / 291.6 MB, free: 28.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007505/0.1541, allocations: 443.5 kB / 292 MB, free: 28.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.1542, allocations: 83.88 kB / 292.1 MB, free: 28.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.1543, allocations: 118.7 kB / 292.2 MB, free: 28.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.1562, allocations: 1.025 MB / 293.2 MB, free: 27.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.1563, allocations: 1.875 kB / 293.2 MB, free: 27.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/0.1564, allocations: 47.36 kB / 293.3 MB, free: 27.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.1564, allocations: 26.56 kB / 293.3 MB, free: 27.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.1582, allocations: 0.9568 MB / 294.3 MB, free: 27.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005476/0.1637, allocations: 2.968 MB / 297.2 MB, free: 25.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.1654, allocations: 0.821 MB / 298 MB, free: 25.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007761/0.1662, allocations: 394.6 kB / 298.4 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.1663, allocations: 36.94 kB / 298.5 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009064/0.1672, allocations: 0.5134 MB / 299 MB, free: 24.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.955e-06/0.1672, allocations: 0 / 299 MB, free: 24.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.009068/0.1763, allocations: 3.733 MB / 302.7 MB, free: 23.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.1764, allocations: 142.8 kB / 302.8 MB, free: 23.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.1768, allocations: 393 kB / 303.2 MB, free: 22.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.1768, allocations: 45.67 kB / 303.3 MB, free: 22.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.1771, allocations: 435 kB / 303.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.1773, allocations: 438.9 kB / 304.1 MB, free: 22.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.1775, allocations: 206.8 kB / 304.3 MB, free: 22.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.1776, allocations: 374.6 kB / 304.7 MB, free: 21.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006196/0.1782, allocations: 353.8 kB / 305 MB, free: 21.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000716/0.1789, allocations: 0.5897 MB / 305.6 MB, free: 20.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.1803, allocations: 0.9309 MB / 306.6 MB, free: 20.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1803, allocations: 0 / 306.6 MB, free: 20.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002422/0.1827, allocations: 1.41 MB / 308 MB, free: 18.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.1828, allocations: 8 kB / 308 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.1828, allocations: 4 kB / 308 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.1843, allocations: 442 kB / 308.4 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008195/0.1851, allocations: 203.7 kB / 308.6 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005836/0.1909, allocations: 7.95 MB / 316.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008569/0.1918, allocations: 43.98 kB / 316.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.059e-05/0.1919, allocations: 43.98 kB / 316.7 MB, free: 9.535 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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.0005005/0.1924, allocations: 257.6 kB / 316.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.1926, allocations: 119.5 kB / 317 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/0.195, allocations: 1.281 MB / 318.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.195, allocations: 12 kB / 318.3 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.195, allocations: 8 kB / 318.3 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.195, allocations: 7.969 kB / 318.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.1986, allocations: 2.202 MB / 320.5 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.1986, allocations: 4 kB / 320.5 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006704/0.1993, allocations: 147.8 kB / 320.7 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.2006, allocations: 416.3 kB / 321.1 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.27e-05/0.2007, allocations: 27.98 kB / 321.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007424/0.2081, allocations: 7.58 MB / 328.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2081, allocations: 0 / 328.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.2122, allocations: 1.848 MB / 330.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/0.2126, allocations: 158.4 kB / 330.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.2127, allocations: 24 kB / 330.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005586/0.2133, allocations: 31.98 kB / 330.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/0.2136, allocations: 100.8 kB / 330.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/0.2137, allocations: 39.98 kB / 330.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000389/0.2141, allocations: 255.2 kB / 331.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2141, allocations: 0 / 331.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001431/0.2155, allocations: 312 kB / 331.4 MB, free: 10.24 MB / 282.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_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * 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.0003917/0.2159, allocations: 179.8 kB / 331.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003213/0.2191, allocations: 1.549 MB / 333.2 MB, free: 8.461 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2191, allocations: 4.125 kB / 333.2 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002362/0.2215, allocations: 1.105 MB / 334.3 MB, free: 7.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006964/0.2222, allocations: 84.47 kB / 334.4 MB, free: 7.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.2263, allocations: 1.873 MB / 336.2 MB, free: 5.309 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.2269, allocations: 444 kB / 336.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004553/0.2274, allocations: 102 kB / 336.8 MB, free: 4.742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.2276, allocations: 60.48 kB / 336.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2276, allocations: 0 / 336.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of Templates: time 0.0248/0.2524, allocations: 11.25 MB / 348.1 MB, free: 9.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.988110318081453]