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.0009692/0.0009692, allocations: 78.19 kB / 21.42 MB, free: 3.078 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.0009806/0.0009806, allocations: 150.5 kB / 24.81 MB, free: 9.332 MB / 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.9028/0.9028, allocations: 173.3 MB / 201.4 MB, free: 9.215 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.553e-06/1.553e-06, allocations: 0 / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.11e-05, allocations: 6.312 kB / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.008014/0.008045, allocations: 5.062 MB / 273.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.01052, allocations: 1.638 MB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.01086, allocations: 16 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.01252, allocations: 1.454 MB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006269/0.01315, allocations: 325.4 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009426/0.01409, allocations: 0.7706 MB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007801/0.01487, allocations: 0.8477 MB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000783/0.01565, allocations: 0.6597 MB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.01615, allocations: 0.5145 MB / 279.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.01648, allocations: 371 kB / 280.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.01656, allocations: 76 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.01697, allocations: 243.6 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.01706, allocations: 187.3 kB / 280.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.01724, allocations: 283.3 kB / 280.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007176/0.01796, allocations: 0.8056 MB / 281.6 MB, free: 8.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01796, allocations: 0 / 281.6 MB, free: 8.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01796, allocations: 0 / 281.6 MB, free: 8.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.01797, allocations: 0 / 281.6 MB, free: 8.887 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.002173/0.02015, allocations: 1.517 MB / 283.2 MB, free: 7.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.02018, allocations: 8.922 kB / 283.2 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.02119, allocations: 431.6 kB / 283.6 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.02134, allocations: 211.4 kB / 283.8 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.02138, allocations: 74.38 kB / 283.9 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.02149, allocations: 100.4 kB / 284 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.02215, allocations: 0.6666 MB / 284.6 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.02218, allocations: 8.141 kB / 284.6 MB, free: 5.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.02222, allocations: 44.38 kB / 284.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.02224, allocations: 27.94 kB / 284.7 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.02263, allocations: 345.6 kB / 285 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.02547, allocations: 2.675 MB / 287.7 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/0.0263, allocations: 0.7258 MB / 288.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.0265, allocations: 202.8 kB / 288.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-05/0.02657, allocations: 32.95 kB / 288.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.02659, allocations: 46.39 kB / 288.7 MB, free: 1.566 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.515e-06/0.02659, allocations: 3.938 kB / 288.7 MB, free: 1.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0008885/0.02748, allocations: 0.69 MB / 289.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.02752, allocations: 90.11 kB / 289.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.02774, allocations: 369.8 kB / 289.9 MB, free: 376 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.02777, allocations: 41.7 kB / 289.9 MB, free: 328 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.09788/0.1257, allocations: 439 kB / 290.3 MB, free: 22.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.1259, allocations: 323.2 kB / 290.6 MB, free: 22.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.1261, allocations: 189 kB / 290.8 MB, free: 22.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.1262, allocations: 0.538 MB / 291.4 MB, free: 22.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.1264, allocations: 117.9 kB / 291.5 MB, free: 22.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.1266, allocations: 409.9 kB / 291.9 MB, free: 21.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.127, allocations: 0.5765 MB / 292.5 MB, free: 21.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.127, allocations: 1.703 kB / 292.5 MB, free: 21.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0008098/0.1279, allocations: 0.7292 MB / 293.2 MB, free: 21.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1279, allocations: 8.25 kB / 293.2 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1279, allocations: 6.078 kB / 293.2 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/0.1282, allocations: 152.6 kB / 293.4 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.1287, allocations: 206 kB / 293.6 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.1306, allocations: 7.547 MB / 301.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.1309, allocations: 93.69 kB / 301.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.1309, allocations: 30.09 kB / 301.2 MB, free: 14.01 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.0001589/0.131, allocations: 218.9 kB / 301.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.738e-05/0.1311, allocations: 82.23 kB / 301.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006469/0.1318, allocations: 0.6311 MB / 302.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1318, allocations: 8.938 kB / 302.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1318, allocations: 4.016 kB / 302.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1318, allocations: 4.984 kB / 302.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.1331, allocations: 1.287 MB / 303.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1331, allocations: 3.25 kB / 303.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.1334, allocations: 136.9 kB / 303.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/0.1337, allocations: 139 kB / 303.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.1337, allocations: 22.73 kB / 303.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.1351, allocations: 6.983 MB / 310.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1351, allocations: 2.25 kB / 310.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.1359, allocations: 0.9962 MB / 311.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.136, allocations: 64.3 kB / 311.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.136, allocations: 20.38 kB / 311.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.1362, allocations: 19.73 kB / 311.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.1362, allocations: 71.86 kB / 311.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.1363, allocations: 22.09 kB / 311.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1364, allocations: 225.6 kB / 312.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1364, allocations: 1.531 kB / 312.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006627/0.137, allocations: 264.9 kB / 312.4 MB, free: 5.66 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.0001925/0.1372, allocations: 159.6 kB / 312.6 MB, free: 5.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007517/0.138, allocations: 1.16 MB / 313.7 MB, free: 4.852 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.138, allocations: 0 / 313.7 MB, free: 4.852 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.1384, allocations: 0.9172 MB / 314.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1387, allocations: 60.39 kB / 314.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.1404, allocations: 1.327 MB / 316 MB, free: 3.449 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.1405, allocations: 154.5 kB / 316.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002665/0.1408, allocations: 102.2 kB / 316.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.1409, allocations: 158.3 kB / 316.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1409, allocations: 0 / 316.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of Templates: time 0.009758/0.1507, allocations: 7.518 MB / 324 MB, free: 0.5391 MB / 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: 2.9184413300827146]