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.0008232/0.0008232, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003815/0.003815, allocations: 164.1 kB / 24.7 MB, free: 8.891 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 0.8314/0.8314, allocations: 177.1 MB / 205 MB, free: 5.746 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.402e-06/1.402e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.328e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.003775/0.003798, allocations: 4.712 MB / 330.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.005788, allocations: 1.658 MB / 332.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.006019, allocations: 20 kB / 332.2 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.007469, allocations: 1.38 MB / 333.6 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005107/0.00798, allocations: 345.4 kB / 333.9 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007313/0.008711, allocations: 0.6112 MB / 334.6 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005968/0.009308, allocations: 0.8436 MB / 335.4 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006855/0.009993, allocations: 0.6519 MB / 336.1 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004075/0.0104, allocations: 0.5183 MB / 336.6 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.01068, allocations: 363 kB / 336.9 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.01075, allocations: 72 kB / 337 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.01111, allocations: 251.6 kB / 337.2 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.119e-05/0.01119, allocations: 179.3 kB / 337.4 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.01136, allocations: 291.3 kB / 337.7 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008523/0.01221, allocations: 1.219 MB / 338.9 MB, free: 2.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.01221, allocations: 0 / 338.9 MB, free: 2.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01222, allocations: 0 / 338.9 MB, free: 2.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.01223, allocations: 0 / 338.9 MB, free: 2.301 MB / 298.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.002089/0.01432, allocations: 1.39 MB / 340.3 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.01435, allocations: 11.97 kB / 340.3 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007935/0.01514, allocations: 248.2 kB / 340.6 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.0153, allocations: 208.6 kB / 340.8 MB, free: 396 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.01534, allocations: 74.38 kB / 340.8 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-05/0.01544, allocations: 96.38 kB / 340.9 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009534/0.01639, allocations: 0.9427 MB / 341.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.01641, allocations: 4.141 kB / 341.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.01646, allocations: 40.38 kB / 341.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.01648, allocations: 27.94 kB / 341.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008329/0.01731, allocations: 0.7847 MB / 342.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.02025, allocations: 2.708 MB / 345.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.02131, allocations: 0.8779 MB / 346.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.02163, allocations: 329.6 kB / 346.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.015e-05/0.0217, allocations: 32.97 kB / 346.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.02173, allocations: 43.56 kB / 346.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 2.925e-06/0.02173, allocations: 4 kB / 346.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.001269/0.023, allocations: 0.9993 MB / 347.7 MB, free: 9.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.02304, allocations: 90.05 kB / 347.8 MB, free: 9.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.02328, allocations: 343.8 kB / 348.1 MB, free: 8.816 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.02331, allocations: 41.64 kB / 348.2 MB, free: 8.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.02346, allocations: 400.1 kB / 348.6 MB, free: 8.371 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.0236, allocations: 305.3 kB / 348.9 MB, free: 8.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.02375, allocations: 178.9 kB / 349 MB, free: 7.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.02385, allocations: 354.8 kB / 349.4 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.02414, allocations: 270.5 kB / 349.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.02452, allocations: 475.4 kB / 350.1 MB, free: 6.727 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.02522, allocations: 0.7745 MB / 350.9 MB, free: 5.879 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.02523, allocations: 4 kB / 350.9 MB, free: 5.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001049/0.02628, allocations: 0.981 MB / 351.9 MB, free: 4.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.02629, allocations: 8 kB / 351.9 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.02631, allocations: 11.98 kB / 351.9 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/0.02656, allocations: 123.4 kB / 352 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.02695, allocations: 203.7 kB / 352.2 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.0295, allocations: 5.593 MB / 357.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.0298, allocations: 107.2 kB / 357.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.02984, allocations: 39.98 kB / 358 MB, free: 14.38 MB / 330.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.0002156/0.03005, allocations: 226.2 kB / 358.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.03012, allocations: 47.72 kB / 358.2 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008873/0.031, allocations: 0.8433 MB / 359.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.03101, allocations: 12 kB / 359.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.03101, allocations: 0 / 359.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.03102, allocations: 3.984 kB / 359.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.03264, allocations: 1.578 MB / 360.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.03265, allocations: 4 kB / 360.7 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.03292, allocations: 139.8 kB / 360.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/0.03308, allocations: 111.6 kB / 360.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.03311, allocations: 24 kB / 360.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.03519, allocations: 5.182 MB / 366.1 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.03519, allocations: 8.062 kB / 366.1 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.03631, allocations: 1.269 MB / 367.4 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.03638, allocations: 67.48 kB / 367.5 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.03642, allocations: 16 kB / 367.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.03659, allocations: 20 kB / 367.5 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.03667, allocations: 76.41 kB / 367.6 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.0367, allocations: 23.98 kB / 367.6 MB, free: 4.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.03685, allocations: 223 kB / 367.8 MB, free: 3.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03685, allocations: 4.062 kB / 367.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006618/0.03751, allocations: 271.4 kB / 368.1 MB, free: 3.676 MB / 330.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.0002401/0.03775, allocations: 167.1 kB / 368.2 MB, free: 3.504 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.03878, allocations: 1.129 MB / 369.4 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03879, allocations: 0 / 369.4 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.03927, allocations: 0.7616 MB / 370.1 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.03965, allocations: 68.42 kB / 370.2 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.04123, allocations: 1.368 MB / 371.6 MB, free: 8 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.04144, allocations: 318.3 kB / 371.9 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.04158, allocations: 68.48 kB / 371.9 MB, free: 15.6 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04158, allocations: 0 / 371.9 MB, free: 15.6 MB / 346.7 MB Notification: Performance of Templates: time 0.01549/0.05707, allocations: 21.65 MB / 393.6 MB, free: 9.957 MB / 362.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.348983637988567]