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.001011/0.001011, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009609/0.0009609, allocations: 165 kB / 24.56 MB, free: 16 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.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] 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.964e-06/1.964e-06, allocations: 0 / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.228e-05, allocations: 6.312 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.00595/0.005972, allocations: 6.435 MB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004426/0.0104, allocations: 2.55 MB / 282 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003794/0.01078, allocations: 23.94 kB / 282 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.0125, allocations: 1.345 MB / 283.3 MB, free: 7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009751/0.01348, allocations: 0.5354 MB / 283.9 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.0149, allocations: 1.222 MB / 285.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008894/0.01579, allocations: 1.109 MB / 286.2 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007655/0.01656, allocations: 0.7739 MB / 287 MB, free: 3.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.01716, allocations: 0.6548 MB / 287.6 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003927/0.01755, allocations: 426.8 kB / 288 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.318e-05/0.01765, allocations: 100 kB / 288.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005311/0.01818, allocations: 395.4 kB / 288.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.0183, allocations: 243 kB / 288.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.01853, allocations: 363.1 kB / 289.1 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009529/0.01949, allocations: 1.086 MB / 290.2 MB, free: 80 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01949, allocations: 4 kB / 290.2 MB, free: 76 kB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01949, allocations: 0 / 290.2 MB, free: 76 kB / 266.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.0195, allocations: 3.938 kB / 290.2 MB, free: 72 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.13/0.1495, allocations: 1.822 MB / 292 MB, free: 18.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1495, allocations: 12.02 kB / 292 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/0.1526, allocations: 0.633 MB / 292.7 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007825/0.1534, allocations: 445.8 kB / 293.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.561e-05/0.1535, allocations: 89.91 kB / 293.2 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.1536, allocations: 116.3 kB / 293.3 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.1553, allocations: 0.7715 MB / 294.1 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.1554, allocations: 6.812 kB / 294.1 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.1555, allocations: 44.36 kB / 294.1 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.1555, allocations: 26.47 kB / 294.2 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.1569, allocations: 0.546 MB / 294.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007155/0.164, allocations: 2.884 MB / 297.6 MB, free: 16.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.1652, allocations: 0.7178 MB / 298.3 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.1656, allocations: 282.3 kB / 298.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.805e-05/0.1657, allocations: 40.56 kB / 298.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/0.1661, allocations: 444.2 kB / 299.1 MB, free: 16.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.395e-06/0.1661, allocations: 3.922 kB / 299.1 MB, free: 16.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.00435/0.1705, allocations: 2.925 MB / 302 MB, free: 15.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.1705, allocations: 148.1 kB / 302.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.1709, allocations: 417.7 kB / 302.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.1709, allocations: 46.92 kB / 302.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.1711, allocations: 494.1 kB / 303.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.1713, allocations: 444.2 kB / 303.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.1715, allocations: 224.4 kB / 303.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.1716, allocations: 0.5555 MB / 304.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.1718, allocations: 198.6 kB / 304.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.1722, allocations: 0.5057 MB / 305 MB, free: 13.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/0.1728, allocations: 0.7033 MB / 305.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1728, allocations: 4 kB / 305.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001212/0.174, allocations: 1.087 MB / 306.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1741, allocations: 7.844 kB / 306.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.1741, allocations: 2.375 kB / 306.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007317/0.1748, allocations: 402.3 kB / 307.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.1752, allocations: 205.2 kB / 307.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/0.1788, allocations: 9.369 MB / 316.7 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.1791, allocations: 44.88 kB / 316.8 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.1791, allocations: 47.66 kB / 316.8 MB, free: 3.641 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.0001741/0.1793, allocations: 226 kB / 317.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.1794, allocations: 107.6 kB / 317.2 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.1804, allocations: 1.011 MB / 318.2 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1804, allocations: 12 kB / 318.2 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1804, allocations: 8 kB / 318.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1805, allocations: 7.969 kB / 318.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.1823, allocations: 1.949 MB / 320.1 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1823, allocations: 8.188 kB / 320.2 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.1826, allocations: 150.6 kB / 320.3 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006621/0.1833, allocations: 372.7 kB / 320.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.1833, allocations: 31.98 kB / 320.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004375/0.1877, allocations: 8.999 MB / 329.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1877, allocations: 2.906 kB / 329.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.1892, allocations: 1.399 MB / 331.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.1894, allocations: 143.5 kB / 331.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.1894, allocations: 27 kB / 331.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.1897, allocations: 31.98 kB / 331.3 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.1898, allocations: 100.8 kB / 331.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.1898, allocations: 51.92 kB / 331.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002974/0.1901, allocations: 265.7 kB / 331.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1901, allocations: 4 kB / 331.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008117/0.1909, allocations: 315.9 kB / 332 MB, free: 4.07 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.000265/0.1912, allocations: 183.2 kB / 332.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.1926, allocations: 1.567 MB / 333.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1926, allocations: 0 / 333.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008363/0.1934, allocations: 1.248 MB / 335 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1938, allocations: 77.22 kB / 335.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.1963, allocations: 1.781 MB / 336.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.1964, allocations: 207.6 kB / 337.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.1966, allocations: 102 kB / 337.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.1967, allocations: 64.48 kB / 337.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1967, allocations: 0 / 337.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of Templates: time 0.01471/0.2114, allocations: 12.08 MB / 349.3 MB, free: 2.805 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] 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","",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.2119375341571867]