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.0009401/0.0009401, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001187/0.001187, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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.025/1.025, allocations: 177.1 MB / 206 MB, free: 4.488 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 2.314e-06/2.314e-06, allocations: 0 / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.954e-05, allocations: 3.188 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005461/0.00549, allocations: 5.059 MB / 279.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.009086, allocations: 1.697 MB / 281 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006481/0.009734, allocations: 16 kB / 281 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.01181, allocations: 1.458 MB / 282.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.01283, allocations: 341.3 kB / 282.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.01386, allocations: 0.6151 MB / 283.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009725/0.01483, allocations: 0.8282 MB / 284.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.01585, allocations: 0.679 MB / 284.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006684/0.01652, allocations: 0.5106 MB / 285.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.0169, allocations: 355 kB / 285.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.504e-05/0.01698, allocations: 76 kB / 285.8 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005867/0.01757, allocations: 247.6 kB / 286.1 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.0177, allocations: 187.3 kB / 286.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.01794, allocations: 279.3 kB / 286.5 MB, free: 8.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.01954, allocations: 0.8135 MB / 287.3 MB, free: 7.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.01955, allocations: 3.938 kB / 287.3 MB, free: 7.215 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01955, allocations: 0 / 287.3 MB, free: 7.215 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.01956, allocations: 0 / 287.3 MB, free: 7.215 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.002343/0.0219, allocations: 1.529 MB / 288.9 MB, free: 5.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.02194, allocations: 8.031 kB / 288.9 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.02299, allocations: 419.6 kB / 289.3 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.02319, allocations: 211.5 kB / 289.5 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.02324, allocations: 74.38 kB / 289.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.02334, allocations: 96.38 kB / 289.7 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000717/0.02406, allocations: 0.6707 MB / 290.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.02409, allocations: 4.141 kB / 290.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.02414, allocations: 48.36 kB / 290.4 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.02416, allocations: 27.94 kB / 290.4 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.02459, allocations: 357.9 kB / 290.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/0.02792, allocations: 2.702 MB / 293.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009323/0.02885, allocations: 0.7258 MB / 294.2 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/0.0294, allocations: 198.8 kB / 294.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.236e-05/0.02949, allocations: 44.91 kB / 294.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.02952, allocations: 50.39 kB / 294.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 3.707e-06/0.02953, allocations: 3.938 kB / 294.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=87): time 0.001048/0.03057, allocations: 0.6988 MB / 295.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.03062, allocations: 86.11 kB / 295.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.03086, allocations: 373.8 kB / 295.6 MB, free: 14.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.0309, allocations: 37.7 kB / 295.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.03111, allocations: 446.9 kB / 296.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.03128, allocations: 321.3 kB / 296.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.03147, allocations: 196.4 kB / 296.6 MB, free: 13.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.03163, allocations: 0.5429 MB / 297.1 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.03178, allocations: 118.5 kB / 297.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.03211, allocations: 406.7 kB / 297.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.03264, allocations: 0.5857 MB / 298.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.03265, allocations: 4 kB / 298.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0008211/0.03347, allocations: 0.7297 MB / 299 MB, free: 11.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.0335, allocations: 8 kB / 299 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.03351, allocations: 8 kB / 299 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/0.03392, allocations: 159.1 kB / 299.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.03435, allocations: 211.6 kB / 299.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/0.03764, allocations: 7.531 MB / 306.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.038, allocations: 95.3 kB / 307 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.03804, allocations: 31.98 kB / 307 MB, free: 2.508 MB / 282.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.0002065/0.03824, allocations: 224.3 kB / 307.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.03834, allocations: 79.67 kB / 307.3 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007438/0.03909, allocations: 0.6265 MB / 307.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.03909, allocations: 8 kB / 307.9 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.0391, allocations: 0 / 307.9 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.03911, allocations: 11.98 kB / 307.9 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.04088, allocations: 1.308 MB / 309.3 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.04088, allocations: 4 kB / 309.3 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.0412, allocations: 135.8 kB / 309.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/0.04153, allocations: 154.8 kB / 309.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.04155, allocations: 19.94 kB / 309.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/0.0447, allocations: 6.977 MB / 316.5 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.04471, allocations: 11.88 kB / 316.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009195/0.04562, allocations: 0.9929 MB / 317.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/0.04571, allocations: 63.47 kB / 317.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.04576, allocations: 24.09 kB / 317.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.04596, allocations: 23.94 kB / 317.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.04604, allocations: 68.47 kB / 317.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.04607, allocations: 23.98 kB / 317.7 MB, free: 7.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.04621, allocations: 230.9 kB / 318 MB, free: 6.875 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04621, allocations: 0 / 318 MB, free: 6.875 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008056/0.04702, allocations: 267.5 kB / 318.2 MB, free: 6.613 MB / 298.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.0002607/0.04728, allocations: 161.4 kB / 318.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.04835, allocations: 1.155 MB / 319.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.04835, allocations: 448 / 319.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005444/0.04889, allocations: 0.9184 MB / 320.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.0493, allocations: 60.77 kB / 320.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.05122, allocations: 1.306 MB / 321.8 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.05134, allocations: 151.3 kB / 322 MB, free: 2.613 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.05162, allocations: 104.9 kB / 322.1 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.05182, allocations: 158.2 kB / 322.2 MB, free: 2.352 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.05182, allocations: 0 / 322.2 MB, free: 2.352 MB / 298.7 MB Notification: Performance of Templates: time 0.01283/0.06465, allocations: 7.895 MB / 330.1 MB, free: 10.55 MB / 314.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: 3.30859418772161]