Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002425/0.002425, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002972/0.002972, allocations: 165.3 kB / 24.28 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.908e-05, allocations: 6.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.008087/0.008116, allocations: 5.163 MB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003429/0.01155, allocations: 1.689 MB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.01181, allocations: 16 kB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003613/0.01543, allocations: 1.505 MB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008513/0.01628, allocations: 329.4 kB / 281 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.01779, allocations: 0.6306 MB / 281.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.01889, allocations: 0.8438 MB / 282.5 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.02, allocations: 0.6596 MB / 283.1 MB, free: 6.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006941/0.02069, allocations: 0.5145 MB / 283.7 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.02124, allocations: 355 kB / 284 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.02136, allocations: 76 kB / 284.1 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/0.02191, allocations: 247.6 kB / 284.3 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.02209, allocations: 179.3 kB / 284.5 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005757/0.02267, allocations: 287.3 kB / 284.8 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.02422, allocations: 1.234 MB / 286 MB, free: 4.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.02422, allocations: 4 kB / 286 MB, free: 4.051 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02422, allocations: 4 kB / 286 MB, free: 4.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.02423, allocations: 0 / 286 MB, free: 4.047 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.004496/0.02873, allocations: 1.564 MB / 287.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.02878, allocations: 12.03 kB / 287.6 MB, free: 2.434 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.03066, allocations: 419.6 kB / 288 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.03091, allocations: 208.1 kB / 288.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.03099, allocations: 74.38 kB / 288.3 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.03115, allocations: 96.38 kB / 288.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.03293, allocations: 0.9795 MB / 289.4 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.03297, allocations: 4.141 kB / 289.4 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.059e-05/0.03306, allocations: 40.38 kB / 289.4 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.03308, allocations: 31.94 kB / 289.4 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1307/0.1638, allocations: 0.7541 MB / 290.2 MB, free: 27.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005079/0.1689, allocations: 3.075 MB / 293.3 MB, free: 26.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.1707, allocations: 0.9312 MB / 294.2 MB, free: 26.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.1712, allocations: 342.5 kB / 294.5 MB, free: 26.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.1713, allocations: 40.53 kB / 294.6 MB, free: 26.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1713, allocations: 43.61 kB / 294.6 MB, free: 26.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.645e-06/0.1713, allocations: 0 / 294.6 MB, free: 26.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.002084/0.1734, allocations: 1.021 MB / 295.6 MB, free: 25.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1734, allocations: 95.22 kB / 295.7 MB, free: 25.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.1738, allocations: 445.3 kB / 296.2 MB, free: 25.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.1738, allocations: 41.3 kB / 296.2 MB, free: 25.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.174, allocations: 455.9 kB / 296.6 MB, free: 24.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.1742, allocations: 328.8 kB / 297 MB, free: 24.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.1745, allocations: 210.2 kB / 297.2 MB, free: 24.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1746, allocations: 0.5549 MB / 297.7 MB, free: 24.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.175, allocations: 255.7 kB / 298 MB, free: 24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.1756, allocations: 0.5568 MB / 298.5 MB, free: 23.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.1766, allocations: 0.8709 MB / 299.4 MB, free: 23.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.1767, allocations: 5.531 kB / 299.4 MB, free: 23.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001582/0.1782, allocations: 1.025 MB / 300.4 MB, free: 22.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1783, allocations: 8.812 kB / 300.4 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.1783, allocations: 8.969 kB / 300.5 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007538/0.179, allocations: 181.3 kB / 300.6 MB, free: 22.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008037/0.1798, allocations: 206.9 kB / 300.8 MB, free: 22.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003335/0.1832, allocations: 7.882 MB / 308.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.1838, allocations: 104.8 kB / 308.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.1839, allocations: 42.02 kB / 308.9 MB, free: 14.65 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.0003496/0.1842, allocations: 271.9 kB / 309.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.1844, allocations: 78.36 kB / 309.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.1859, allocations: 0.8692 MB / 310.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.1859, allocations: 14.14 kB / 310.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1859, allocations: 2.844 kB / 310.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.1859, allocations: 4.703 kB / 310.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.1885, allocations: 1.782 MB / 311.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1885, allocations: 3.75 kB / 311.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/0.189, allocations: 140.2 kB / 312 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006182/0.1896, allocations: 162.5 kB / 312.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.1897, allocations: 22.02 kB / 312.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002645/0.1923, allocations: 7.312 MB / 319.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1923, allocations: 3.906 kB / 319.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.1939, allocations: 1.411 MB / 320.9 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-05/0.194, allocations: 63.47 kB / 321 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.194, allocations: 25.27 kB / 321 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.1944, allocations: 20 kB / 321 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.1945, allocations: 76.73 kB / 321.1 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.1946, allocations: 27.05 kB / 321.1 MB, free: 4.074 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001909/0.1948, allocations: 270.9 kB / 321.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1948, allocations: 0 / 321.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009143/0.1957, allocations: 267.2 kB / 321.7 MB, free: 3.574 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.0002374/0.1959, allocations: 162.4 kB / 321.8 MB, free: 3.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.1973, allocations: 1.412 MB / 323.2 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1973, allocations: 4 kB / 323.2 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006718/0.198, allocations: 1.027 MB / 324.3 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.1985, allocations: 65.08 kB / 324.3 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.2009, allocations: 1.397 MB / 325.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.2013, allocations: 326 kB / 326 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.2017, allocations: 100.9 kB / 326.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.2019, allocations: 56.48 kB / 326.2 MB, free: 14.92 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2019, allocations: 0 / 326.2 MB, free: 14.92 MB / 282.7 MB Notification: Performance of Templates: time 0.01679/0.2187, allocations: 7.07 MB / 333.3 MB, free: 8 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.9124833279056475]