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.001357/0.001357, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001628/0.001628, allocations: 165 kB / 24.56 MB, free: 12 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 0.979/0.979, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.503e-06/1.503e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.318e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004612/0.004635, allocations: 5.217 MB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.00714, allocations: 1.708 MB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002932/0.007433, allocations: 20 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.009161, allocations: 1.505 MB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006196/0.00978, allocations: 341.3 kB / 281.8 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007986/0.01058, allocations: 0.6229 MB / 282.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007341/0.01131, allocations: 0.836 MB / 283.2 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007735/0.01209, allocations: 0.6597 MB / 283.9 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.01256, allocations: 0.5145 MB / 284.4 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.01291, allocations: 363 kB / 284.8 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.01299, allocations: 72 kB / 284.8 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004793/0.01347, allocations: 255.6 kB / 285.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.966e-05/0.01357, allocations: 179.3 kB / 285.3 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.01377, allocations: 287.3 kB / 285.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007944/0.01456, allocations: 0.8096 MB / 286.3 MB, free: 4.094 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.01457, allocations: 0 / 286.3 MB, free: 4.094 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01457, allocations: 3.938 kB / 286.3 MB, free: 4.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.01458, allocations: 0 / 286.3 MB, free: 4.09 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.002284/0.01687, allocations: 1.521 MB / 287.9 MB, free: 2.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.0169, allocations: 8.031 kB / 287.9 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.01791, allocations: 423.6 kB / 288.3 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.01808, allocations: 204.2 kB / 288.5 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.01812, allocations: 66.38 kB / 288.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.01823, allocations: 100.4 kB / 288.7 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008582/0.01909, allocations: 0.7334 MB / 289.4 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.01911, allocations: 12.12 kB / 289.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.01917, allocations: 40.38 kB / 289.4 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.01918, allocations: 27.94 kB / 289.5 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.01983, allocations: 459.3 kB / 289.9 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1055/0.1253, allocations: 2.681 MB / 292.6 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.1266, allocations: 0.781 MB / 293.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.127, allocations: 248 kB / 293.6 MB, free: 18.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.747e-05/0.1271, allocations: 41.36 kB / 293.7 MB, free: 18.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1272, allocations: 46.86 kB / 293.7 MB, free: 18.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 4.048e-06/0.1272, allocations: 0.5938 kB / 293.7 MB, free: 18.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.001565/0.1287, allocations: 0.7835 MB / 294.5 MB, free: 18.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1288, allocations: 88.72 kB / 294.6 MB, free: 18.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.1291, allocations: 375.2 kB / 294.9 MB, free: 18.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1291, allocations: 41.42 kB / 295 MB, free: 18.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1293, allocations: 443.8 kB / 295.4 MB, free: 18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.1294, allocations: 317.9 kB / 295.7 MB, free: 17.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.1296, allocations: 190.3 kB / 295.9 MB, free: 17.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.1297, allocations: 0.5366 MB / 296.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.1301, allocations: 153.2 kB / 296.6 MB, free: 17.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.1305, allocations: 450.9 kB / 297 MB, free: 17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007551/0.1312, allocations: 0.6452 MB / 297.7 MB, free: 16.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.1312, allocations: 2.469 kB / 297.7 MB, free: 16.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001226/0.1325, allocations: 0.8084 MB / 298.5 MB, free: 16.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1325, allocations: 8.719 kB / 298.5 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.1325, allocations: 5.812 kB / 298.5 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.133, allocations: 161.2 kB / 298.7 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.1336, allocations: 212.4 kB / 298.9 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.136, allocations: 7.629 MB / 306.5 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.1364, allocations: 102.5 kB / 306.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.1364, allocations: 48.98 kB / 306.6 MB, free: 8.918 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.0001796/0.1366, allocations: 207.8 kB / 306.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.1367, allocations: 80.83 kB / 306.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.1378, allocations: 0.6814 MB / 307.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1378, allocations: 12.94 kB / 307.6 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1378, allocations: 6.812 kB / 307.6 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.1378, allocations: 7.891 kB / 307.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.1397, allocations: 1.439 MB / 309.1 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1397, allocations: 2.75 kB / 309.1 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.1401, allocations: 136.5 kB / 309.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003793/0.1405, allocations: 153.6 kB / 309.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.1405, allocations: 22.25 kB / 309.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.1424, allocations: 7.081 MB / 316.5 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1424, allocations: 6.875 kB / 316.5 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.1437, allocations: 1.082 MB / 317.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.1437, allocations: 65.05 kB / 317.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.1438, allocations: 22.89 kB / 317.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.1441, allocations: 19.91 kB / 317.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.1442, allocations: 73.55 kB / 317.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.1442, allocations: 26.86 kB / 317.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1444, allocations: 236.8 kB / 318 MB, free: 15.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1444, allocations: 0 / 318 MB, free: 15.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008585/0.1452, allocations: 269.3 kB / 318.3 MB, free: 15.45 MB / 282.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.0002377/0.1455, allocations: 160.4 kB / 318.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.1467, allocations: 1.219 MB / 319.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1467, allocations: 0 / 319.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000637/0.1473, allocations: 0.9354 MB / 320.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.1478, allocations: 60.56 kB / 320.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.1498, allocations: 1.314 MB / 321.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.15, allocations: 159.9 kB / 322.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003161/0.1503, allocations: 103.6 kB / 322.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1504, allocations: 53.38 kB / 322.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1504, allocations: 0 / 322.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of Templates: time 0.01206/0.1625, allocations: 7.578 MB / 329.8 MB, free: 7.133 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","",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.979047412984073]