Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009598/0.0009598, allocations: 79.91 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 141.1 kB / 24.54 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9978/0.9978, allocations: 173.3 MB / 201.1 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.512e-05, allocations: 6.25 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.003895/0.00391, allocations: 5.207 MB / 273.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.005556, allocations: 1.654 MB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.005712, allocations: 16 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.007122, allocations: 1.501 MB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.007518, allocations: 329.4 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.008268, allocations: 0.7784 MB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.008803, allocations: 0.8477 MB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006109/0.009413, allocations: 0.6714 MB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.009743, allocations: 0.5106 MB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.01002, allocations: 367 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.405e-05/0.01008, allocations: 76 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.01037, allocations: 243.6 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.301e-05/0.01045, allocations: 187.3 kB / 280.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.01061, allocations: 279.3 kB / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.01118, allocations: 0.8056 MB / 281.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.01118, allocations: 0 / 281.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01119, allocations: 4 kB / 281.5 MB, free: 8.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.01119, allocations: 4 kB / 281.5 MB, free: 8.902 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001983/0.01317, allocations: 1.502 MB / 283 MB, free: 7.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.01321, allocations: 12.92 kB / 283 MB, free: 7.352 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009725/0.01418, allocations: 439.6 kB / 283.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.01432, allocations: 203.5 kB / 283.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.01437, allocations: 74.31 kB / 283.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/0.01447, allocations: 100.4 kB / 283.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.01529, allocations: 0.737 MB / 284.5 MB, free: 5.773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.01532, allocations: 4.141 kB / 284.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.01537, allocations: 44.38 kB / 284.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.01539, allocations: 23.94 kB / 284.6 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000603/0.01599, allocations: 451.4 kB / 285 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.01879, allocations: 2.656 MB / 287.7 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009496/0.01974, allocations: 0.7766 MB / 288.5 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.02001, allocations: 237.5 kB / 288.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.724e-05/0.02006, allocations: 28.98 kB / 288.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.02009, allocations: 50.39 kB / 288.8 MB, free: 1.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 1.874e-06/0.02009, allocations: 0 / 288.8 MB, free: 1.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.001071/0.02116, allocations: 0.7721 MB / 289.5 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.0212, allocations: 94.05 kB / 289.6 MB, free: 476 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.02144, allocations: 374 kB / 290 MB, free: 84 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.02147, allocations: 37.7 kB / 290 MB, free: 40 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.13/0.1514, allocations: 439.9 kB / 290.5 MB, free: 23.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.1518, allocations: 320.5 kB / 290.8 MB, free: 22.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.1521, allocations: 186.5 kB / 291 MB, free: 22.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1522, allocations: 0.5345 MB / 291.5 MB, free: 22.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.1527, allocations: 156.6 kB / 291.6 MB, free: 22.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.1532, allocations: 438.7 kB / 292.1 MB, free: 22.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009278/0.1541, allocations: 0.6391 MB / 292.7 MB, free: 21.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.1542, allocations: 2.281 kB / 292.7 MB, free: 21.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001603/0.1558, allocations: 0.8008 MB / 293.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1558, allocations: 7.719 kB / 293.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.1558, allocations: 6.625 kB / 293.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/0.1565, allocations: 161.7 kB / 293.7 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000757/0.1572, allocations: 205.2 kB / 293.9 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.1594, allocations: 7.63 MB / 301.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.1599, allocations: 104.2 kB / 301.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.1599, allocations: 38.81 kB / 301.7 MB, free: 14.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.1601, allocations: 220.7 kB / 301.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/0.1602, allocations: 78.2 kB / 301.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007814/0.161, allocations: 0.6846 MB / 302.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.161, allocations: 8.438 kB / 302.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.161, allocations: 7.719 kB / 302.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.161, allocations: 5.5 kB / 302.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.1625, allocations: 1.417 MB / 304.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1626, allocations: 2.906 kB / 304.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.1629, allocations: 138.3 kB / 304.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003134/0.1632, allocations: 148.6 kB / 304.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.1632, allocations: 19.14 kB / 304.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.1647, allocations: 7.075 MB / 311.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1647, allocations: 5.938 kB / 311.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009337/0.1656, allocations: 1.081 MB / 312.5 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1656, allocations: 67.92 kB / 312.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.1657, allocations: 15.81 kB / 312.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1659, allocations: 21.22 kB / 312.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.543e-05/0.1659, allocations: 76.72 kB / 312.7 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.166, allocations: 23.89 kB / 312.7 MB, free: 5.926 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1661, allocations: 234.6 kB / 313 MB, free: 5.805 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1661, allocations: 0 / 313 MB, free: 5.805 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006093/0.1667, allocations: 269.2 kB / 313.2 MB, free: 5.785 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.1669, allocations: 153.2 kB / 313.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000909/0.1678, allocations: 1.21 MB / 314.6 MB, free: 4.969 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1678, allocations: 0 / 314.6 MB, free: 4.969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.1683, allocations: 0.9419 MB / 315.5 MB, free: 4.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1686, allocations: 68.02 kB / 315.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.1702, allocations: 1.343 MB / 316.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.1703, allocations: 152.3 kB / 317.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.1706, allocations: 109.9 kB / 317.2 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.1707, allocations: 51.97 kB / 317.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1707, allocations: 0 / 317.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of Templates: time 0.009118/0.1798, allocations: 7.327 MB / 324.6 MB, free: 360 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.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.0567862992174923]