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.001595/0.001595, allocations: 120.5 kB / 18.46 MB, free: 4.617 MB / 14.72 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.001845/0.001845, allocations: 194.6 kB / 21.4 MB, free: 1.684 MB / 14.72 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 1.492/1.492, allocations: 225.6 MB / 249.8 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001587/0.001587, allocations: 51.92 kB / 366.8 MB, free: 452 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1023, allocations: 52.14 MB / 419 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00685/0.1092, allocations: 5.278 MB / 424.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.1127, allocations: 1.681 MB / 425.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.113, allocations: 20 kB / 425.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003255/0.1163, allocations: 1.418 MB / 427.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008763/0.1172, allocations: 321.6 kB / 427.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.1188, allocations: 0.8243 MB / 428.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009631/0.1198, allocations: 0.8167 MB / 429.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009293/0.1207, allocations: 0.5856 MB / 429.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.1211, allocations: 354.7 kB / 430.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005579/0.1217, allocations: 470.1 kB / 430.7 MB, free: 408 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.947e-05/0.1218, allocations: 76 kB / 430.8 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000547/0.1223, allocations: 259.8 kB / 431 MB, free: 72 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.1225, allocations: 175.4 kB / 431.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.1229, allocations: 429.9 kB / 431.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.1242, allocations: 1.198 MB / 432.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1242, allocations: 0 / 432.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1242, allocations: 0 / 432.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1242, allocations: 0 / 432.8 MB, free: 14.27 MB / 366.1 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.003903/0.1281, allocations: 1.461 MB / 434.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1281, allocations: 12.03 kB / 434.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.1298, allocations: 256.2 kB / 434.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1301, allocations: 259.9 kB / 434.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.1301, allocations: 74.38 kB / 434.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.1303, allocations: 104.3 kB / 435 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.1318, allocations: 0.9463 MB / 435.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.1319, allocations: 0 / 435.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.322e-05/0.132, allocations: 40 kB / 436 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.132, allocations: 24 kB / 436 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.1333, allocations: 0.7776 MB / 436.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005054/0.1384, allocations: 3.366 MB / 440.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.1403, allocations: 1.185 MB / 441.3 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/0.1409, allocations: 329.1 kB / 441.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.141, allocations: 98.03 kB / 441.7 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.141, allocations: 43.56 kB / 441.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.515e-06/0.141, allocations: 4 kB / 441.8 MB, free: 4.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002257/0.1433, allocations: 1.308 MB / 443.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.1433, allocations: 86.11 kB / 443.2 MB, free: 3.418 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.1438, allocations: 368.4 kB / 443.5 MB, free: 3.047 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.1438, allocations: 41.7 kB / 443.6 MB, free: 3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.1441, allocations: 380.2 kB / 443.9 MB, free: 2.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.1443, allocations: 317.3 kB / 444.2 MB, free: 2.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.1446, allocations: 174.9 kB / 444.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1448, allocations: 362.8 kB / 444.8 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.1452, allocations: 270.5 kB / 445 MB, free: 1.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.1459, allocations: 475.4 kB / 445.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.1471, allocations: 0.7705 MB / 446.3 MB, free: 116 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1471, allocations: 4 kB / 446.3 MB, free: 112 kB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.1882/0.3353, allocations: 0.9651 MB / 447.2 MB, free: 30.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3353, allocations: 8.031 kB / 447.2 MB, free: 30.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3353, allocations: 6.125 kB / 447.3 MB, free: 30.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/0.3357, allocations: 123.2 kB / 447.4 MB, free: 30.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.3364, allocations: 206.8 kB / 447.6 MB, free: 30.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.3393, allocations: 6.118 MB / 453.7 MB, free: 24.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.3399, allocations: 109.2 kB / 453.8 MB, free: 24.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.34, allocations: 40.47 kB / 453.8 MB, free: 24.45 MB / 366.1 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.0002987/0.3403, allocations: 238.8 kB / 454.1 MB, free: 24.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3404, allocations: 52.41 kB / 454.1 MB, free: 24.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.3417, allocations: 0.8399 MB / 455 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3417, allocations: 12.53 kB / 455 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3417, allocations: 4.969 kB / 455 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3417, allocations: 9.469 kB / 455 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.344, allocations: 1.927 MB / 456.9 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.344, allocations: 6.047 kB / 456.9 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/0.3445, allocations: 134.8 kB / 457.1 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.3448, allocations: 105.5 kB / 457.2 MB, free: 23.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.3448, allocations: 21.59 kB / 457.2 MB, free: 23.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002438/0.3473, allocations: 5.713 MB / 462.9 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3473, allocations: 2.25 kB / 462.9 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.3491, allocations: 1.273 MB / 464.2 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.3492, allocations: 151.4 kB / 464.3 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.3493, allocations: 20.83 kB / 464.3 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.3496, allocations: 21.75 kB / 464.4 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3498, allocations: 59.23 kB / 464.4 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.3498, allocations: 28.02 kB / 464.4 MB, free: 16.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.3501, allocations: 260.5 kB / 464.7 MB, free: 16.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3501, allocations: 3.938 kB / 464.7 MB, free: 16.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00093/0.351, allocations: 265.6 kB / 465 MB, free: 16.45 MB / 366.1 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.0002331/0.3512, allocations: 158.2 kB / 465.1 MB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.3527, allocations: 1.131 MB / 466.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3527, allocations: 0 / 466.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007087/0.3534, allocations: 0.7642 MB / 467 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.354, allocations: 58.8 kB / 467.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.3562, allocations: 1.447 MB / 468.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.3566, allocations: 0.9106 MB / 469.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.3568, allocations: 62.73 kB / 469.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3568, allocations: 4 kB / 469.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of Templates: time 0.021/0.3778, allocations: 21.1 MB / 490.6 MB, free: 4 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.438344815047458]