Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 162.7 kB / 24.99 MB, free: 7.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9821/0.9821, allocations: 177 MB / 205.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.736e-06/2.736e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.41e-05, allocations: 2.312 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008551/0.008585, allocations: 6.397 MB / 279.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005078/0.01366, allocations: 2.534 MB / 281.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006735/0.01434, allocations: 20 kB / 281.9 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.01717, allocations: 1.349 MB / 283.3 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.01873, allocations: 0.5393 MB / 283.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.02107, allocations: 1.218 MB / 285.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.02245, allocations: 1.105 MB / 286.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.02368, allocations: 0.7739 MB / 286.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008369/0.02452, allocations: 0.6548 MB / 287.6 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.02514, allocations: 422.8 kB / 288 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.0253, allocations: 96 kB / 288.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008088/0.02611, allocations: 407.4 kB / 288.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.02631, allocations: 239.1 kB / 288.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.02672, allocations: 359.1 kB / 289.1 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.02834, allocations: 1.098 MB / 290.2 MB, free: 484 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.02835, allocations: 0 / 290.2 MB, free: 484 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.02835, allocations: 0 / 290.2 MB, free: 484 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.02838, allocations: 0 / 290.2 MB, free: 484 kB / 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.1172/0.1456, allocations: 1.822 MB / 292 MB, free: 29.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1456, allocations: 9.719 kB / 292 MB, free: 29.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/0.148, allocations: 0.6386 MB / 292.6 MB, free: 28.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007/0.1487, allocations: 445.3 kB / 293.1 MB, free: 28.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.1487, allocations: 83.75 kB / 293.2 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.1489, allocations: 116.6 kB / 293.3 MB, free: 28.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.1501, allocations: 0.7718 MB / 294 MB, free: 28.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.1501, allocations: 2 kB / 294 MB, free: 28.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.1502, allocations: 45.67 kB / 294.1 MB, free: 28.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.1502, allocations: 27.75 kB / 294.1 MB, free: 28.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009945/0.1512, allocations: 0.5538 MB / 294.7 MB, free: 28.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.1549, allocations: 2.882 MB / 297.6 MB, free: 26.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.1559, allocations: 0.7228 MB / 298.3 MB, free: 26.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.1563, allocations: 279.5 kB / 298.5 MB, free: 26.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.398e-05/0.1564, allocations: 37.47 kB / 298.6 MB, free: 26.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004816/0.1569, allocations: 447.8 kB / 299 MB, free: 26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.076e-06/0.1569, allocations: 1.156 kB / 299 MB, free: 26 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.004452/0.1614, allocations: 2.914 MB / 301.9 MB, free: 24.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.1614, allocations: 151.2 kB / 302.1 MB, free: 24.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.1617, allocations: 425.2 kB / 302.5 MB, free: 24.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.1617, allocations: 46.11 kB / 302.5 MB, free: 24.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1619, allocations: 490.3 kB / 303 MB, free: 23.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.162, allocations: 442.8 kB / 303.5 MB, free: 23.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.1622, allocations: 213.3 kB / 303.7 MB, free: 23.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.1623, allocations: 0.5589 MB / 304.2 MB, free: 22.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.1626, allocations: 192.7 kB / 304.4 MB, free: 22.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.163, allocations: 0.512 MB / 304.9 MB, free: 22.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.1637, allocations: 0.7046 MB / 305.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1637, allocations: 0 / 305.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001183/0.1649, allocations: 1.096 MB / 306.7 MB, free: 20.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1649, allocations: 15.78 kB / 306.7 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1649, allocations: 4 kB / 306.7 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007528/0.1656, allocations: 395.2 kB / 307.1 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.1661, allocations: 203.7 kB / 307.3 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/0.1697, allocations: 9.366 MB / 316.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.17, allocations: 40 kB / 316.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.17, allocations: 43.98 kB / 316.8 MB, free: 10.35 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.0002009/0.1702, allocations: 233 kB / 317 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.926e-05/0.1703, allocations: 115.5 kB / 317.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.1714, allocations: 1.005 MB / 318.1 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1714, allocations: 12 kB / 318.1 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1715, allocations: 8 kB / 318.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.1715, allocations: 3.984 kB / 318.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.1734, allocations: 1.96 MB / 320.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1734, allocations: 0 / 320.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.1738, allocations: 147.8 kB / 320.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006804/0.1744, allocations: 380 kB / 320.6 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.1745, allocations: 24 kB / 320.6 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003634/0.1781, allocations: 9.001 MB / 329.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1781, allocations: 4 kB / 329.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.1798, allocations: 1.403 MB / 331.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.18, allocations: 147.4 kB / 331.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/0.18, allocations: 24 kB / 331.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.1803, allocations: 35.98 kB / 331.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.1804, allocations: 104.7 kB / 331.4 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.1805, allocations: 36 kB / 331.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1806, allocations: 271.1 kB / 331.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1806, allocations: 0 / 331.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008113/0.1814, allocations: 319.9 kB / 332 MB, free: 10.52 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.0002407/0.1817, allocations: 181.5 kB / 332.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.1831, allocations: 1.574 MB / 333.7 MB, free: 8.699 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1831, allocations: 0 / 333.7 MB, free: 8.699 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008987/0.184, allocations: 1.247 MB / 335 MB, free: 7.379 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1844, allocations: 78.78 kB / 335 MB, free: 7.305 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.1868, allocations: 1.769 MB / 336.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.187, allocations: 211.6 kB / 337 MB, free: 5.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.1873, allocations: 110 kB / 337.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.1874, allocations: 56.48 kB / 337.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1874, allocations: 0 / 337.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of Templates: time 0.01443/0.2018, allocations: 11.41 MB / 348.6 MB, free: 9.816 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.15321679902263]