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.000904/0.000904, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009636/0.0009636, allocations: 158.6 kB / 24.91 MB, free: 8.719 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 1.044/1.044, allocations: 177 MB / 205.2 MB, free: 5.023 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.412e-06/1.412e-06, allocations: 0 / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.89e-05, allocations: 5.266 kB / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004341/0.00436, allocations: 5.125 MB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.006875, allocations: 1.762 MB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.007159, allocations: 16 kB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.009048, allocations: 1.505 MB / 281.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006418/0.00969, allocations: 333.4 kB / 282.2 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009429/0.01063, allocations: 0.615 MB / 282.8 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006772/0.01131, allocations: 0.8321 MB / 283.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007352/0.01205, allocations: 0.7084 MB / 284.3 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.0125, allocations: 0.5106 MB / 284.8 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.01282, allocations: 367 kB / 285.2 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.01289, allocations: 76 kB / 285.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.01331, allocations: 267.6 kB / 285.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.641e-05/0.01339, allocations: 187.2 kB / 285.7 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.01364, allocations: 287.3 kB / 286 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000732/0.01437, allocations: 0.8056 MB / 286.8 MB, free: 3.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.01437, allocations: 0 / 286.8 MB, free: 3.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01437, allocations: 0 / 286.8 MB, free: 3.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.01438, allocations: 4 kB / 286.8 MB, free: 3.551 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.002032/0.01641, allocations: 1.435 MB / 288.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.01644, allocations: 15.92 kB / 288.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.01753, allocations: 432 kB / 288.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.01766, allocations: 212.6 kB / 288.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.0177, allocations: 70.38 kB / 288.9 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/0.01779, allocations: 96.38 kB / 289 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.01837, allocations: 0.669 MB / 289.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.01839, allocations: 4.141 kB / 289.7 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.01843, allocations: 36.38 kB / 289.7 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.01845, allocations: 27.94 kB / 289.8 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.01878, allocations: 297.5 kB / 290.1 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1116/0.1304, allocations: 2.185 MB / 292.3 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008559/0.1312, allocations: 0.6588 MB / 292.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.1314, allocations: 184.6 kB / 293.1 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-05/0.1315, allocations: 41.17 kB / 293.1 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1315, allocations: 45.86 kB / 293.2 MB, free: 18.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.655e-06/0.1315, allocations: 0 / 293.2 MB, free: 18.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0009991/0.1325, allocations: 0.5541 MB / 293.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1326, allocations: 91.42 kB / 293.8 MB, free: 18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.1328, allocations: 304.1 kB / 294.1 MB, free: 17.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1329, allocations: 37.39 kB / 294.2 MB, free: 17.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.1331, allocations: 389.4 kB / 294.5 MB, free: 17.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.1332, allocations: 317.1 kB / 294.8 MB, free: 17.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.1334, allocations: 177.4 kB / 295 MB, free: 17.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.1335, allocations: 362.2 kB / 295.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1336, allocations: 99.59 kB / 295.5 MB, free: 17.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1338, allocations: 315.5 kB / 295.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.1342, allocations: 0.4974 MB / 296.3 MB, free: 16.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.1343, allocations: 3.109 kB / 296.3 MB, free: 16.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0006587/0.1349, allocations: 0.5641 MB / 296.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1349, allocations: 7.562 kB / 296.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.1349, allocations: 5.938 kB / 296.9 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.1353, allocations: 143.3 kB / 297 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.1358, allocations: 223.1 kB / 297.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.1374, allocations: 5.105 MB / 302.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.1377, allocations: 96.84 kB / 302.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.1377, allocations: 28 kB / 302.4 MB, free: 11.75 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.0001316/0.1378, allocations: 169.9 kB / 302.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.404e-05/0.1379, allocations: 56.91 kB / 302.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005788/0.1385, allocations: 0.5145 MB / 303.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1385, allocations: 8.844 kB / 303.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1385, allocations: 11.14 kB / 303.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1385, allocations: 4.938 kB / 303.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.1397, allocations: 0.9674 MB / 304.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1397, allocations: 2.75 kB / 304.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.14, allocations: 151.8 kB / 304.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002866/0.1403, allocations: 131.1 kB / 304.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.1403, allocations: 25.61 kB / 304.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.1416, allocations: 4.749 MB / 309.2 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1416, allocations: 3.406 kB / 309.2 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006452/0.1423, allocations: 0.75 MB / 310 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.1423, allocations: 59.59 kB / 310 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.1423, allocations: 18.41 kB / 310 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.1425, allocations: 19.69 kB / 310.1 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/0.1426, allocations: 69.78 kB / 310.1 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.1426, allocations: 21.56 kB / 310.2 MB, free: 6.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.428e-05/0.1427, allocations: 103.3 kB / 310.3 MB, free: 6.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1427, allocations: 0 / 310.3 MB, free: 6.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006715/0.1434, allocations: 273 kB / 310.5 MB, free: 6.207 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.0002193/0.1436, allocations: 153.2 kB / 310.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006713/0.1443, allocations: 0.8934 MB / 311.6 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.1443, allocations: 3.5 kB / 311.6 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.1446, allocations: 0.6688 MB / 312.2 MB, free: 5.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.145, allocations: 61.7 kB / 312.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.1464, allocations: 1.258 MB / 313.6 MB, free: 4.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.1465, allocations: 153.6 kB / 313.7 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002898/0.1468, allocations: 104.4 kB / 313.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.147, allocations: 132.6 kB / 313.9 MB, free: 4.367 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.147, allocations: 4 kB / 313.9 MB, free: 4.363 MB / 266.7 MB Notification: Performance of Templates: time 0.01023/0.1572, allocations: 7.739 MB / 321.7 MB, free: 15.32 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 -s gbode -gbm=radauIIA3 -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: 2.99873362807557]