Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001451/0.001451, allocations: 92.27 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.001589, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.599e-06/4.599e-06, allocations: 4 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.905e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007399/0.007428, allocations: 4.707 MB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00441/0.01184, allocations: 1.65 MB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.01221, allocations: 20 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003971/0.01618, allocations: 1.38 MB / 280 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000925/0.0171, allocations: 341.4 kB / 280.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.01857, allocations: 0.6073 MB / 280.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.01989, allocations: 0.8321 MB / 281.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.02101, allocations: 0.6752 MB / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006669/0.02168, allocations: 0.5106 MB / 282.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/0.0222, allocations: 351 kB / 283.3 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.02232, allocations: 76 kB / 283.4 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.02285, allocations: 251.6 kB / 283.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.02303, allocations: 179.3 kB / 283.8 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003353/0.02337, allocations: 287.3 kB / 284.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.02489, allocations: 1.226 MB / 285.3 MB, free: 4.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.0249, allocations: 4 kB / 285.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.02491, allocations: 0 / 285.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.02492, allocations: 0 / 285.3 MB, free: 4.66 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.004198/0.02912, allocations: 1.386 MB / 286.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.02916, allocations: 11.98 kB / 286.7 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.03105, allocations: 419.6 kB / 287.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.03131, allocations: 220.5 kB / 287.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.625e-05/0.0314, allocations: 74.38 kB / 287.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.03157, allocations: 96.38 kB / 287.5 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.03337, allocations: 0.9427 MB / 288.4 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.0334, allocations: 4.141 kB / 288.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003451/0.03374, allocations: 40.38 kB / 288.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.03377, allocations: 31.92 kB / 288.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.03528, allocations: 0.7882 MB / 289.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1196/0.1549, allocations: 2.731 MB / 292 MB, free: 27.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.1565, allocations: 0.8798 MB / 292.9 MB, free: 26.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004883/0.157, allocations: 326.4 kB / 293.2 MB, free: 26.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.1571, allocations: 41.05 kB / 293.2 MB, free: 26.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1572, allocations: 44.62 kB / 293.3 MB, free: 26.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.766e-06/0.1572, allocations: 0 / 293.3 MB, free: 26.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.002035/0.1592, allocations: 1.038 MB / 294.3 MB, free: 26.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1592, allocations: 91.7 kB / 294.4 MB, free: 26.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.1596, allocations: 335.5 kB / 294.7 MB, free: 25.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1596, allocations: 43.45 kB / 294.8 MB, free: 25.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1598, allocations: 396.6 kB / 295.2 MB, free: 25.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.16, allocations: 313.8 kB / 295.5 MB, free: 25.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.1602, allocations: 176.4 kB / 295.7 MB, free: 25.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.1603, allocations: 356.7 kB / 296 MB, free: 24.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.1607, allocations: 268.7 kB / 296.3 MB, free: 24.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.1613, allocations: 477.2 kB / 296.7 MB, free: 24.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009898/0.1623, allocations: 0.7714 MB / 297.5 MB, free: 23.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1623, allocations: 5.344 kB / 297.5 MB, free: 23.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00172/0.164, allocations: 1.021 MB / 298.5 MB, free: 23.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.164, allocations: 9.078 kB / 298.5 MB, free: 23.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.164, allocations: 6.281 kB / 298.5 MB, free: 23.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007531/0.1648, allocations: 168.6 kB / 298.7 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/0.1656, allocations: 206 kB / 298.9 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/0.1685, allocations: 5.613 MB / 304.5 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.1691, allocations: 95.23 kB / 304.6 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.1692, allocations: 40.58 kB / 304.7 MB, free: 17.98 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.000256/0.1694, allocations: 230.5 kB / 304.9 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.1696, allocations: 76.3 kB / 305 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.171, allocations: 0.8436 MB / 305.8 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.171, allocations: 12.03 kB / 305.8 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.171, allocations: 2.812 kB / 305.8 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.171, allocations: 4.797 kB / 305.8 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.1736, allocations: 1.571 MB / 307.4 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.1736, allocations: 3.781 kB / 307.4 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.1742, allocations: 137 kB / 307.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006208/0.1748, allocations: 146.5 kB / 307.7 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.1749, allocations: 24.62 kB / 307.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/0.1772, allocations: 5.203 MB / 312.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1772, allocations: 9.031 kB / 312.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.1787, allocations: 1.305 MB / 314.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.1788, allocations: 67.47 kB / 314.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.1789, allocations: 19.48 kB / 314.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.1792, allocations: 15.94 kB / 314.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.1793, allocations: 78.42 kB / 314.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.1794, allocations: 27.36 kB / 314.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.1795, allocations: 217.4 kB / 314.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1795, allocations: 0 / 314.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008097/0.1804, allocations: 272.2 kB / 314.9 MB, free: 10.25 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.0002308/0.1806, allocations: 155.2 kB / 315 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.1818, allocations: 1.133 MB / 316.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1818, allocations: 4.188 kB / 316.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006347/0.1825, allocations: 0.7673 MB / 316.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.183, allocations: 55.89 kB / 317 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1849, allocations: 1.369 MB / 318.4 MB, free: 7.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.1851, allocations: 320.5 kB / 318.7 MB, free: 6.676 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003756/0.1855, allocations: 96.95 kB / 318.8 MB, free: 6.582 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.1857, allocations: 52.48 kB / 318.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of SimCode: time 4e-07/0.1857, allocations: 0 / 318.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of Templates: time 0.01141/0.1971, allocations: 7.024 MB / 325.9 MB, free: 15.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.7827208960661665]