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.002044/0.002044, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002561/0.002561, allocations: 165.3 kB / 24.27 MB, free: 140 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.451/1.451, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.674e-06/1.674e-06, allocations: 3.938 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.878e-05, allocations: 6.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007336/0.007365, allocations: 4.702 MB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003618/0.01098, allocations: 1.65 MB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005883/0.01157, allocations: 16 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.01537, allocations: 1.392 MB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.01654, allocations: 329.4 kB / 280.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.01822, allocations: 0.619 MB / 281 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.01972, allocations: 0.836 MB / 281.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.02113, allocations: 0.6675 MB / 282.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009715/0.0221, allocations: 0.5066 MB / 283 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007272/0.02283, allocations: 355 kB / 283.4 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.023, allocations: 72 kB / 283.5 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006989/0.0237, allocations: 255.6 kB / 283.7 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.02391, allocations: 183.3 kB / 283.9 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.02433, allocations: 283.3 kB / 284.2 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.02608, allocations: 1.226 MB / 285.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.02609, allocations: 0 / 285.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02609, allocations: 0 / 285.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.326e-05/0.02612, allocations: 0 / 285.4 MB, free: 4.688 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.004306/0.03043, allocations: 1.39 MB / 286.8 MB, free: 3.266 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.03047, allocations: 12.03 kB / 286.8 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.03231, allocations: 415.6 kB / 287.2 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.03257, allocations: 209.3 kB / 287.4 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-05/0.03266, allocations: 74.38 kB / 287.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.03282, allocations: 100.3 kB / 287.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.0346, allocations: 0.9388 MB / 288.5 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.03464, allocations: 12.14 kB / 288.5 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.88e-05/0.03472, allocations: 36.38 kB / 288.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.03475, allocations: 35.92 kB / 288.6 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.03625, allocations: 0.7806 MB / 289.4 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.108/0.1443, allocations: 2.735 MB / 292.1 MB, free: 27.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.1459, allocations: 0.8775 MB / 293 MB, free: 26.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004887/0.1464, allocations: 329.4 kB / 293.3 MB, free: 26.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.1465, allocations: 39.14 kB / 293.3 MB, free: 26.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.1465, allocations: 44.72 kB / 293.4 MB, free: 26.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.595e-06/0.1465, allocations: 0.5312 kB / 293.4 MB, free: 26.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.002032/0.1486, allocations: 1.036 MB / 294.4 MB, free: 26.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1486, allocations: 88.75 kB / 294.5 MB, free: 26.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.1489, allocations: 337 kB / 294.8 MB, free: 25.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.149, allocations: 36.89 kB / 294.9 MB, free: 25.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1491, allocations: 403.6 kB / 295.3 MB, free: 25.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.1493, allocations: 311.6 kB / 295.6 MB, free: 25.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.1495, allocations: 178.7 kB / 295.8 MB, free: 25.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.1496, allocations: 357 kB / 296.1 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.15, allocations: 268.4 kB / 296.4 MB, free: 24.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.1505, allocations: 473.1 kB / 296.8 MB, free: 24.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009263/0.1515, allocations: 0.7729 MB / 297.6 MB, free: 24.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.1515, allocations: 5.5 kB / 297.6 MB, free: 24.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001597/0.1531, allocations: 1.022 MB / 298.6 MB, free: 23.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1531, allocations: 11.97 kB / 298.6 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1531, allocations: 6.781 kB / 298.6 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007696/0.1539, allocations: 168.8 kB / 298.8 MB, free: 23.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.1546, allocations: 202 kB / 299 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.1576, allocations: 5.614 MB / 304.6 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.1581, allocations: 97.7 kB / 304.7 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.1582, allocations: 42.17 kB / 304.8 MB, free: 18.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.0002808/0.1584, allocations: 233.2 kB / 305 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.1586, allocations: 79.94 kB / 305.1 MB, free: 17.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.16, allocations: 0.8422 MB / 305.9 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.16, allocations: 12.94 kB / 305.9 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.16, allocations: 2.75 kB / 305.9 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.16, allocations: 5.875 kB / 305.9 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.1625, allocations: 1.566 MB / 307.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.1625, allocations: 2.656 kB / 307.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.1631, allocations: 139.9 kB / 307.6 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006376/0.1637, allocations: 158.7 kB / 307.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.1638, allocations: 18.45 kB / 307.8 MB, free: 16.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.1663, allocations: 5.202 MB / 313 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1663, allocations: 0.8906 kB / 313 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.1679, allocations: 1.305 MB / 314.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.1679, allocations: 65.5 kB / 314.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.168, allocations: 28.03 kB / 314.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.1684, allocations: 21.31 kB / 314.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.1685, allocations: 72.27 kB / 314.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.1685, allocations: 21.94 kB / 314.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001759/0.1687, allocations: 223.5 kB / 314.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1687, allocations: 0 / 314.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009115/0.1696, allocations: 269.2 kB / 315 MB, free: 10.27 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.0002237/0.1698, allocations: 155.5 kB / 315.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.1711, allocations: 1.133 MB / 316.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1711, allocations: 4 kB / 316.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.1717, allocations: 0.769 MB / 317.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.1722, allocations: 64.34 kB / 317.1 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.1742, allocations: 1.359 MB / 318.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.1744, allocations: 318.3 kB / 318.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.1748, allocations: 101 kB / 318.9 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.1749, allocations: 56.48 kB / 318.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.1749, allocations: 0 / 318.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of Templates: time 0.01156/0.1865, allocations: 7.024 MB / 326 MB, free: 15.68 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] 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.759839455015026]