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.001327/0.001327, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001514/0.001514, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9273/0.9273, allocations: 177 MB / 204.8 MB, free: 5.598 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 1.543e-06/1.543e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.621e-05, allocations: 6.25 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005461/0.005477, allocations: 6.435 MB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00331/0.008788, allocations: 2.542 MB / 281.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.009072, allocations: 23.94 kB / 281.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.01069, allocations: 1.345 MB / 283.3 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008314/0.01152, allocations: 0.5471 MB / 283.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.0128, allocations: 1.214 MB / 285 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007995/0.0136, allocations: 1.113 MB / 286.1 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.01437, allocations: 0.7777 MB / 286.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.01487, allocations: 0.6549 MB / 287.6 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.01529, allocations: 418.8 kB / 288 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.0154, allocations: 96 kB / 288.1 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.01591, allocations: 411.3 kB / 288.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.01607, allocations: 239.1 kB / 288.7 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.01633, allocations: 359.1 kB / 289 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000955/0.01728, allocations: 1.098 MB / 290.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01728, allocations: 0 / 290.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01728, allocations: 0 / 290.1 MB, free: 136 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.01729, allocations: 0 / 290.1 MB, free: 136 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.1323/0.1496, allocations: 1.818 MB / 292 MB, free: 18.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1497, allocations: 13.05 kB / 292 MB, free: 18.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/0.1524, allocations: 0.6382 MB / 292.6 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.153, allocations: 447 kB / 293.1 MB, free: 17.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.1531, allocations: 83.62 kB / 293.1 MB, free: 17.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.1533, allocations: 113.6 kB / 293.2 MB, free: 17.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.1548, allocations: 0.7707 MB / 294 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.1548, allocations: 6.562 kB / 294 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.1549, allocations: 46.44 kB / 294.1 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.1549, allocations: 27.78 kB / 294.1 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.1561, allocations: 0.5487 MB / 294.6 MB, free: 17.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004417/0.1605, allocations: 2.888 MB / 297.5 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.1618, allocations: 0.7184 MB / 298.2 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.1623, allocations: 278.5 kB / 298.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.1625, allocations: 36.84 kB / 298.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005991/0.163, allocations: 444.5 kB / 299 MB, free: 16.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.805e-06/0.1631, allocations: 1.875 kB / 299 MB, free: 16.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.005392/0.1684, allocations: 2.916 MB / 301.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.1685, allocations: 151.2 kB / 302.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.1689, allocations: 418.5 kB / 302.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.1689, allocations: 47.48 kB / 302.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.1691, allocations: 497.2 kB / 303 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.1693, allocations: 438.9 kB / 303.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.1696, allocations: 220.6 kB / 303.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1697, allocations: 0.5603 MB / 304.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.1701, allocations: 200.4 kB / 304.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.1705, allocations: 0.5019 MB / 304.9 MB, free: 13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/0.1714, allocations: 0.7036 MB / 305.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.1714, allocations: 4 kB / 305.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001579/0.173, allocations: 1.089 MB / 306.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.173, allocations: 8.938 kB / 306.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.173, allocations: 2.812 kB / 306.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009681/0.174, allocations: 403.7 kB / 307.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.1745, allocations: 200.6 kB / 307.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004486/0.179, allocations: 9.37 MB / 316.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.1794, allocations: 39.84 kB / 316.7 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/0.1795, allocations: 47.94 kB / 316.8 MB, free: 3.578 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.0002382/0.1797, allocations: 223.9 kB / 317 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.1798, allocations: 115.6 kB / 317.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.1809, allocations: 0.9998 MB / 318.1 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1809, allocations: 12 kB / 318.1 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1809, allocations: 8 kB / 318.1 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.181, allocations: 3.984 kB / 318.1 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.1829, allocations: 1.962 MB / 320.1 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1829, allocations: 4 kB / 320.1 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.1832, allocations: 147 kB / 320.2 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007024/0.184, allocations: 387.2 kB / 320.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.184, allocations: 24 kB / 320.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004633/0.1886, allocations: 8.998 MB / 329.6 MB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.1886, allocations: 7.047 kB / 329.6 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.1902, allocations: 1.398 MB / 331 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.1904, allocations: 146.1 kB / 331.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.1905, allocations: 24 kB / 331.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.1907, allocations: 35.98 kB / 331.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.1909, allocations: 104.4 kB / 331.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.1909, allocations: 39.94 kB / 331.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001797/0.1911, allocations: 271.1 kB / 331.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1911, allocations: 0 / 331.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008282/0.1919, allocations: 319.9 kB / 331.9 MB, free: 4 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.0002258/0.1921, allocations: 176.1 kB / 332.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.1935, allocations: 1.563 MB / 333.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1935, allocations: 0 / 333.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009139/0.1945, allocations: 1.252 MB / 334.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1948, allocations: 82.3 kB / 335 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.197, allocations: 1.774 MB / 336.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.1972, allocations: 211.6 kB / 337 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.1974, allocations: 105.5 kB / 337.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.1975, allocations: 60.48 kB / 337.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1975, allocations: 0 / 337.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of Templates: time 0.01379/0.2113, allocations: 11.41 MB / 348.6 MB, free: 3.398 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.2569169960916042]