Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001026/0.001026, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001128/0.001128, allocations: 156.5 kB / 24.55 MB, free: 16 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 1.012/1.012, allocations: 177 MB / 204.8 MB, free: 5.594 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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.648e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004777/0.004804, allocations: 5.222 MB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.007495, allocations: 1.701 MB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/0.007834, allocations: 16 kB / 279.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.009706, allocations: 1.509 MB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006726/0.01038, allocations: 333.4 kB / 281.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.01123, allocations: 0.6268 MB / 282.3 MB, free: 8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000937/0.01217, allocations: 0.8399 MB / 283.2 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008261/0.013, allocations: 0.6713 MB / 283.8 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006375/0.01363, allocations: 0.5144 MB / 284.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.01417, allocations: 351 kB / 284.7 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.0143, allocations: 76 kB / 284.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006976/0.015, allocations: 251.6 kB / 285 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.0151, allocations: 183.3 kB / 285.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.01534, allocations: 287.3 kB / 285.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009954/0.01634, allocations: 0.8096 MB / 286.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01634, allocations: 0 / 286.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01634, allocations: 4 kB / 286.3 MB, free: 4.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.01635, allocations: 0 / 286.3 MB, free: 4.012 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.002212/0.01857, allocations: 1.517 MB / 287.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.01859, allocations: 15.98 kB / 287.8 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.01973, allocations: 419.6 kB / 288.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.01988, allocations: 207.5 kB / 288.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.01992, allocations: 74.38 kB / 288.5 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.02003, allocations: 100.4 kB / 288.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/0.02089, allocations: 0.7372 MB / 289.3 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.02091, allocations: 4.141 kB / 289.3 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.02096, allocations: 40.38 kB / 289.4 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.02097, allocations: 27.94 kB / 289.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.02165, allocations: 459.4 kB / 289.9 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.13/0.1516, allocations: 2.676 MB / 292.5 MB, free: 18.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.153, allocations: 0.7774 MB / 293.3 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.1534, allocations: 244.1 kB / 293.5 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.249e-05/0.1535, allocations: 42.89 kB / 293.6 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1535, allocations: 43.92 kB / 293.6 MB, free: 18.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.425e-06/0.1535, allocations: 1.125 kB / 293.6 MB, free: 18.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.001566/0.1551, allocations: 0.7854 MB / 294.4 MB, free: 18.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.1551, allocations: 87.14 kB / 294.5 MB, free: 18.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.1555, allocations: 378.5 kB / 294.9 MB, free: 18.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1555, allocations: 39.92 kB / 294.9 MB, free: 18.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.1557, allocations: 442.8 kB / 295.3 MB, free: 17.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.1559, allocations: 321.4 kB / 295.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.1561, allocations: 190.3 kB / 295.8 MB, free: 17.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.1562, allocations: 0.536 MB / 296.4 MB, free: 17.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.1565, allocations: 157.6 kB / 296.5 MB, free: 17.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.157, allocations: 445.7 kB / 297 MB, free: 16.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/0.1578, allocations: 0.6475 MB / 297.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.1578, allocations: 1.25 kB / 297.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001302/0.1591, allocations: 0.8138 MB / 298.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1591, allocations: 8.469 kB / 298.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.1591, allocations: 6.375 kB / 298.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.1596, allocations: 165.1 kB / 298.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.1602, allocations: 207.9 kB / 298.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.1627, allocations: 7.621 MB / 306.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.1631, allocations: 95.88 kB / 306.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.1632, allocations: 45.5 kB / 306.6 MB, free: 8.711 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.0002142/0.1634, allocations: 219.7 kB / 306.8 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.1635, allocations: 77.02 kB / 306.9 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.1646, allocations: 0.6828 MB / 307.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1646, allocations: 12.19 kB / 307.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1646, allocations: 2.75 kB / 307.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.1646, allocations: 10.53 kB / 307.6 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.1667, allocations: 1.444 MB / 309 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1667, allocations: 2.406 kB / 309 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.1671, allocations: 140.5 kB / 309.2 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/0.1675, allocations: 149.3 kB / 309.3 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.1675, allocations: 27.67 kB / 309.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.1694, allocations: 7.073 MB / 316.4 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1694, allocations: 6.219 kB / 316.4 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.1708, allocations: 1.086 MB / 317.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.1709, allocations: 61.53 kB / 317.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.171, allocations: 26.83 kB / 317.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.1712, allocations: 19.62 kB / 317.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.1714, allocations: 75.39 kB / 317.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.1714, allocations: 26.3 kB / 317.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.1716, allocations: 234.2 kB / 317.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1716, allocations: 0 / 317.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009747/0.1725, allocations: 270 kB / 318.2 MB, free: 15.29 MB / 282.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.0002564/0.1728, allocations: 161.8 kB / 318.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.174, allocations: 1.212 MB / 319.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.174, allocations: 0 / 319.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006425/0.1747, allocations: 0.9465 MB / 320.5 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.1752, allocations: 56.62 kB / 320.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.1773, allocations: 1.308 MB / 321.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.1775, allocations: 163 kB / 322 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003255/0.1778, allocations: 101.4 kB / 322.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.1779, allocations: 55.89 kB / 322.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1779, allocations: 0 / 322.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of Templates: time 0.01202/0.1899, allocations: 7.089 MB / 329.3 MB, free: 7.445 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1589025668799877]