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.0009485/0.0009485, 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.001084/0.001084, 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 0.9573/0.9573, allocations: 177.1 MB / 205 MB, free: 5.285 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.623e-06/1.623e-06, allocations: 0 / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.285e-05, allocations: 5.969 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008639/0.008671, allocations: 6.44 MB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005292/0.01396, allocations: 2.554 MB / 282 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007704/0.01473, allocations: 23.94 kB / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00264/0.01737, allocations: 1.341 MB / 283.3 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.01919, allocations: 0.5393 MB / 283.9 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.02093, allocations: 1.214 MB / 285.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.02206, allocations: 1.109 MB / 286.2 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009586/0.02302, allocations: 0.77 MB / 287 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.02408, allocations: 0.6626 MB / 287.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.02454, allocations: 422.8 kB / 288 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.02465, allocations: 100 kB / 288.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.0253, allocations: 395.4 kB / 288.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.02544, allocations: 243 kB / 288.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.02569, allocations: 363.1 kB / 289.1 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.02688, allocations: 1.09 MB / 290.2 MB, free: 76 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.02689, allocations: 0 / 290.2 MB, free: 76 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02689, allocations: 0 / 290.2 MB, free: 76 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.02691, 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.1302/0.1571, allocations: 1.819 MB / 292 MB, free: 18.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1572, allocations: 9.891 kB / 292 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.1592, allocations: 0.6405 MB / 292.7 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008905/0.1601, allocations: 443.9 kB / 293.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/0.1602, allocations: 88.88 kB / 293.2 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.1604, allocations: 110.3 kB / 293.3 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.1621, allocations: 0.7755 MB / 294.1 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.1622, allocations: 7.781 kB / 294.1 MB, free: 17.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.1623, allocations: 45.31 kB / 294.1 MB, free: 17.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.1623, allocations: 27.16 kB / 294.2 MB, free: 17.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.1637, allocations: 0.5476 MB / 294.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005184/0.1689, allocations: 2.883 MB / 297.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.1703, allocations: 0.7186 MB / 298.3 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.1709, allocations: 280.9 kB / 298.6 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.536e-05/0.171, allocations: 37.19 kB / 298.6 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000515/0.1715, allocations: 451.7 kB / 299.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.446e-06/0.1715, allocations: 2.734 kB / 299.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.004533/0.176, allocations: 2.921 MB / 302 MB, free: 15.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.1761, allocations: 148.6 kB / 302.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.1764, allocations: 422.2 kB / 302.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.1765, allocations: 46.98 kB / 302.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.1766, allocations: 486.6 kB / 303.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.1768, allocations: 444.2 kB / 303.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.1771, allocations: 222.2 kB / 303.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1772, allocations: 0.5581 MB / 304.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.1775, allocations: 197.7 kB / 304.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/0.1779, allocations: 0.5087 MB / 305 MB, free: 13.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/0.1786, allocations: 0.7134 MB / 305.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1786, allocations: 0 / 305.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001252/0.1798, allocations: 1.092 MB / 306.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1798, allocations: 6.625 kB / 306.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.1799, allocations: 3.156 kB / 306.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008068/0.1807, allocations: 401.2 kB / 307.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/0.1811, allocations: 199 kB / 307.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004002/0.1851, allocations: 9.372 MB / 316.7 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.1855, allocations: 41.62 kB / 316.8 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.1855, allocations: 46.81 kB / 316.8 MB, free: 3.637 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.0002432/0.1858, allocations: 237 kB / 317.1 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.1859, allocations: 107.6 kB / 317.2 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.187, allocations: 0.9986 MB / 318.2 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.187, allocations: 16 kB / 318.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.187, allocations: 4 kB / 318.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.187, allocations: 10.89 kB / 318.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.1891, allocations: 1.948 MB / 320.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1891, allocations: 4 kB / 320.1 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.1894, allocations: 153.1 kB / 320.3 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007388/0.1901, allocations: 375.4 kB / 320.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.1902, allocations: 28 kB / 320.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/0.1951, allocations: 9.006 MB / 329.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1951, allocations: 0 / 329.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.1968, allocations: 1.398 MB / 331.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.197, allocations: 143.5 kB / 331.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.197, allocations: 24 kB / 331.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.1973, allocations: 39.98 kB / 331.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.1974, allocations: 103.1 kB / 331.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.1975, allocations: 35.94 kB / 331.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.1977, allocations: 274.8 kB / 331.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1977, allocations: 0 / 331.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000912/0.1986, allocations: 315.9 kB / 332 MB, free: 4.066 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.0002697/0.1988, allocations: 191.5 kB / 332.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.2007, allocations: 1.566 MB / 333.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2007, allocations: 4 kB / 333.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009036/0.2016, allocations: 1.243 MB / 335 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.202, allocations: 78.34 kB / 335.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.2044, allocations: 1.772 MB / 336.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2046, allocations: 215.3 kB / 337.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002342/0.2048, allocations: 102 kB / 337.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2049, allocations: 60.48 kB / 337.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2049, allocations: 0 / 337.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of Templates: time 0.01493/0.2199, allocations: 11.4 MB / 348.6 MB, free: 3.457 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.3937355927191675]