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.0008663/0.0008663, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009821/0.0009821, allocations: 149.9 kB / 24.9 MB, free: 8.273 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.9531/0.9531, allocations: 173.3 MB / 201.5 MB, free: 9.18 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.422e-06/1.422e-06, allocations: 3.938 kB / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.312e-05, allocations: 6.25 kB / 268.5 MB, free: 6.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004756/0.004779, allocations: 5.106 MB / 273.6 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.007705, allocations: 1.716 MB / 275.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.008061, allocations: 20 kB / 275.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.009812, allocations: 1.489 MB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007561/0.01057, allocations: 333.4 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.01161, allocations: 0.7705 MB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000884/0.0125, allocations: 0.8438 MB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00088/0.01338, allocations: 0.7085 MB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.01393, allocations: 0.5183 MB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.01432, allocations: 367 kB / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.01442, allocations: 76 kB / 280.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004956/0.01491, allocations: 251.6 kB / 280.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/0.01501, allocations: 179.3 kB / 280.9 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.01522, allocations: 291.3 kB / 281.2 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008597/0.01607, allocations: 0.8017 MB / 282 MB, free: 8.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01608, allocations: 0 / 282 MB, free: 8.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01608, allocations: 4 kB / 282 MB, free: 8.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.01609, allocations: 0 / 282 MB, free: 8.586 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.002296/0.01839, allocations: 1.424 MB / 283.4 MB, free: 7.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.01843, allocations: 12.92 kB / 283.4 MB, free: 7.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.01961, allocations: 452 kB / 283.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.01978, allocations: 208.6 kB / 284 MB, free: 6.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.01984, allocations: 74.38 kB / 284.1 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.01996, allocations: 96.38 kB / 284.2 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/0.0206, allocations: 0.6648 MB / 284.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.02063, allocations: 8.141 kB / 284.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.02067, allocations: 36.38 kB / 284.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.02069, allocations: 27.94 kB / 284.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.02106, allocations: 281.8 kB / 285.2 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.02374, allocations: 2.175 MB / 287.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000812/0.02455, allocations: 0.6665 MB / 288.1 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.02473, allocations: 168.2 kB / 288.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.326e-05/0.0248, allocations: 32.98 kB / 288.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.02483, allocations: 43.55 kB / 288.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.206e-06/0.02483, allocations: 0 / 288.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0007891/0.02562, allocations: 0.5485 MB / 288.9 MB, free: 1.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.02566, allocations: 98.05 kB / 288.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.02585, allocations: 302.6 kB / 289.2 MB, free: 1.066 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.02588, allocations: 41.69 kB / 289.3 MB, free: 1.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.02602, allocations: 384.1 kB / 289.7 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.02616, allocations: 317.3 kB / 290 MB, free: 332 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.02632, allocations: 174.8 kB / 290.1 MB, free: 152 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1151/0.1414, allocations: 358.7 kB / 290.5 MB, free: 23.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.1417, allocations: 96.34 kB / 290.6 MB, free: 23.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.1419, allocations: 306.1 kB / 290.9 MB, free: 23.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.1423, allocations: 0.4886 MB / 291.4 MB, free: 22.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.1423, allocations: 1.828 kB / 291.4 MB, free: 22.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.000716/0.143, allocations: 0.5606 MB / 291.9 MB, free: 22.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1431, allocations: 8.5 kB / 291.9 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1431, allocations: 8.609 kB / 291.9 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/0.1435, allocations: 137.7 kB / 292.1 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.1439, allocations: 218 kB / 292.3 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.1458, allocations: 5.121 MB / 297.4 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.1461, allocations: 97.64 kB / 297.5 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.1461, allocations: 32.73 kB / 297.5 MB, free: 17.96 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.0001722/0.1463, allocations: 164.8 kB / 297.7 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.758e-05/0.1464, allocations: 65.16 kB / 297.8 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006011/0.147, allocations: 0.5109 MB / 298.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.147, allocations: 9.969 kB / 298.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.147, allocations: 2.312 kB / 298.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.147, allocations: 5.219 kB / 298.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.1483, allocations: 0.9502 MB / 299.2 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1483, allocations: 2.656 kB / 299.2 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.1486, allocations: 150.8 kB / 299.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003202/0.1489, allocations: 126.5 kB / 299.5 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.149, allocations: 25.27 kB / 299.5 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.1505, allocations: 4.751 MB / 304.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1505, allocations: 3.562 kB / 304.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/0.1513, allocations: 0.7487 MB / 305 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.1513, allocations: 64.77 kB / 305.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.1514, allocations: 21.31 kB / 305.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.1516, allocations: 18.5 kB / 305.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.1516, allocations: 71.22 kB / 305.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.1517, allocations: 19.98 kB / 305.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1518, allocations: 106.6 kB / 305.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1518, allocations: 0 / 305.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008152/0.1526, allocations: 263.6 kB / 305.6 MB, free: 12.46 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.0002101/0.1528, allocations: 133.2 kB / 305.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000861/0.1537, allocations: 0.8911 MB / 306.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/0.1537, allocations: 6.844 kB / 306.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.1541, allocations: 0.6781 MB / 307.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1544, allocations: 65.36 kB / 307.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1562, allocations: 1.297 MB / 308.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.1563, allocations: 155.8 kB / 308.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002917/0.1566, allocations: 103.2 kB / 308.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.1568, allocations: 129 kB / 309 MB, free: 10.62 MB / 266.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1568, allocations: 0 / 309 MB, free: 10.62 MB / 266.7 MB Notification: Performance of Templates: time 0.01019/0.167, allocations: 7.515 MB / 316.6 MB, free: 8.387 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 -s gbode -gbm=radauIIA3 -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.880136121995747]