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.0009349/0.0009349, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.00112/0.00112, allocations: 157.8 kB / 24.99 MB, free: 8.25 MB / 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 0.9923/0.9923, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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 1.573e-06/1.573e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.672e-05, allocations: 5.125 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006814/0.006841, allocations: 5.194 MB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.01017, allocations: 1.697 MB / 279.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.01057, allocations: 16 kB / 279.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.01312, allocations: 1.509 MB / 281.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009075/0.01403, allocations: 333.4 kB / 281.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.01526, allocations: 0.6229 MB / 282.4 MB, free: 8.328 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.01629, allocations: 0.8321 MB / 283.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.01737, allocations: 0.6674 MB / 283.9 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006797/0.01805, allocations: 0.5144 MB / 284.4 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.01855, allocations: 351 kB / 284.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.01867, allocations: 76 kB / 284.8 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005488/0.01922, allocations: 251.6 kB / 285 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.01936, allocations: 187.3 kB / 285.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.01966, allocations: 287.3 kB / 285.5 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.02075, allocations: 0.8056 MB / 286.3 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.02076, allocations: 4 kB / 286.3 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02076, allocations: 0 / 286.3 MB, free: 4.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.02078, allocations: 0 / 286.3 MB, free: 4.352 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.003967/0.02474, allocations: 1.517 MB / 287.8 MB, free: 2.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.02479, allocations: 15.98 kB / 287.8 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.02687, allocations: 419.6 kB / 288.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.02712, allocations: 207.5 kB / 288.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/0.0272, allocations: 74.38 kB / 288.5 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.02737, allocations: 96.38 kB / 288.6 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.02886, allocations: 0.745 MB / 289.4 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.0289, allocations: 4.141 kB / 289.4 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.691e-05/0.02898, allocations: 40.38 kB / 289.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.02901, allocations: 27.94 kB / 289.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.03018, allocations: 455.4 kB / 289.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1165/0.1467, allocations: 2.683 MB / 292.6 MB, free: 27.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.148, allocations: 0.7797 MB / 293.3 MB, free: 27.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.1483, allocations: 245.4 kB / 293.6 MB, free: 27.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.653e-05/0.1484, allocations: 40.95 kB / 293.6 MB, free: 27.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1485, allocations: 49.5 kB / 293.7 MB, free: 26.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.607e-06/0.1485, allocations: 0 / 293.7 MB, free: 26.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.00154/0.15, allocations: 0.7852 MB / 294.5 MB, free: 26.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.15, allocations: 93.58 kB / 294.6 MB, free: 26.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.1503, allocations: 373.1 kB / 294.9 MB, free: 26.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.1504, allocations: 42.55 kB / 295 MB, free: 26.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.1505, allocations: 445.7 kB / 295.4 MB, free: 26.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.1507, allocations: 316.6 kB / 295.7 MB, free: 25.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.1509, allocations: 189.6 kB / 295.9 MB, free: 25.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.151, allocations: 0.5363 MB / 296.4 MB, free: 25.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.1513, allocations: 156 kB / 296.6 MB, free: 25.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.1517, allocations: 443.2 kB / 297 MB, free: 24.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/0.1525, allocations: 0.6466 MB / 297.7 MB, free: 24.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.1525, allocations: 5.25 kB / 297.7 MB, free: 24.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001215/0.1537, allocations: 0.8135 MB / 298.5 MB, free: 24.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1537, allocations: 8.672 kB / 298.5 MB, free: 24.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1537, allocations: 5 kB / 298.5 MB, free: 24.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004837/0.1542, allocations: 159.3 kB / 298.6 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.1548, allocations: 209.8 kB / 298.9 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.1571, allocations: 7.627 MB / 306.5 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.1575, allocations: 95.72 kB / 306.6 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.1575, allocations: 44.66 kB / 306.6 MB, free: 16.35 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.0001744/0.1577, allocations: 218.3 kB / 306.8 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.1578, allocations: 80.17 kB / 306.9 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.1589, allocations: 0.6853 MB / 307.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1589, allocations: 8.969 kB / 307.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1589, allocations: 4.344 kB / 307.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.1589, allocations: 6.062 kB / 307.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.1608, allocations: 1.44 MB / 309 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1608, allocations: 2 kB / 309.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.1612, allocations: 144.8 kB / 309.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003797/0.1616, allocations: 156.8 kB / 309.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.1616, allocations: 18.02 kB / 309.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.1635, allocations: 7.076 MB / 316.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1635, allocations: 7.344 kB / 316.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.1647, allocations: 1.084 MB / 317.5 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.1647, allocations: 65.38 kB / 317.6 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.1648, allocations: 25.14 kB / 317.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.1651, allocations: 20.84 kB / 317.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.1651, allocations: 69.28 kB / 317.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.1652, allocations: 24.97 kB / 317.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1653, allocations: 240.3 kB / 318 MB, free: 6.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1653, allocations: 0 / 318 MB, free: 6.848 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007879/0.1661, allocations: 268.2 kB / 318.2 MB, free: 6.777 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.0002093/0.1663, allocations: 163 kB / 318.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009754/0.1673, allocations: 1.22 MB / 319.6 MB, free: 5.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1673, allocations: 0 / 319.6 MB, free: 5.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.1678, allocations: 0.9373 MB / 320.5 MB, free: 5.055 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.1683, allocations: 58.48 kB / 320.6 MB, free: 5.027 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1702, allocations: 1.314 MB / 321.9 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.1703, allocations: 155.6 kB / 322.1 MB, free: 3.824 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003156/0.1706, allocations: 105 kB / 322.2 MB, free: 3.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.1708, allocations: 52.48 kB / 322.2 MB, free: 3.672 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1708, allocations: 4 kB / 322.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of Templates: time 0.02566/0.1964, allocations: 7.072 MB / 329.3 MB, free: 12.77 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0542941400781274]