Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 90.17 kB / 20.78 MB, free: 0.7148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 142.1 kB / 24.05 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 173.3 MB / 200.6 MB, free: 12.85 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 319.1 MB, free: 3.406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.192e-05, allocations: 6.219 kB / 319.1 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004842/0.004864, allocations: 4.69 MB / 323.8 MB, free: 276 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.007641, allocations: 1.594 MB / 325.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.007883, allocations: 16.5 kB / 325.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003276/0.01116, allocations: 1.389 MB / 326.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009061/0.01206, allocations: 329.8 kB / 327.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.01373, allocations: 0.7655 MB / 327.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009263/0.01465, allocations: 0.8526 MB / 328.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.01566, allocations: 0.6631 MB / 329.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000628/0.01629, allocations: 0.5111 MB / 329.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.01679, allocations: 360.5 kB / 330.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.01689, allocations: 74.28 kB / 330.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.01745, allocations: 243.4 kB / 330.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.01761, allocations: 178.2 kB / 330.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.01793, allocations: 292.1 kB / 331.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.01943, allocations: 1.225 MB / 332.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01944, allocations: 0 / 332.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01944, allocations: 1 kB / 332.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.01945, allocations: 0 / 332.3 MB, free: 11.6 MB / 302.1 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.003961/0.02341, allocations: 1.38 MB / 333.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.02345, allocations: 9.766 kB / 333.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.02524, allocations: 257.6 kB / 333.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.02551, allocations: 204.8 kB / 334.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.02558, allocations: 73.66 kB / 334.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.02573, allocations: 105 kB / 334.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.02731, allocations: 0.9362 MB / 335.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.02735, allocations: 10.92 kB / 335.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/0.02743, allocations: 35.25 kB / 335.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.02746, allocations: 28.69 kB / 335.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.02876, allocations: 0.7727 MB / 336.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.0338, allocations: 2.681 MB / 338.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.0356, allocations: 0.883 MB / 339.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/0.03616, allocations: 327.5 kB / 340 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.922e-05/0.03626, allocations: 28.92 kB / 340 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.0363, allocations: 43.56 kB / 340 MB, free: 6.387 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.625e-06/0.03631, allocations: 0 / 340 MB, free: 6.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002231/0.03854, allocations: 1.003 MB / 341 MB, free: 5.371 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.03861, allocations: 94.14 kB / 341.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.03916, allocations: 335.8 kB / 341.5 MB, free: 4.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.035e-05/0.03921, allocations: 41.7 kB / 341.5 MB, free: 4.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.03952, allocations: 392.2 kB / 341.9 MB, free: 4.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.0398, allocations: 309.3 kB / 342.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.04014, allocations: 174.9 kB / 342.4 MB, free: 4.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.04033, allocations: 354.8 kB / 342.7 MB, free: 3.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.04083, allocations: 274.5 kB / 343 MB, free: 3.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00078/0.04161, allocations: 467.5 kB / 343.4 MB, free: 2.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.0428, allocations: 0.7706 MB / 344.2 MB, free: 1.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.04281, allocations: 0 / 344.2 MB, free: 1.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001782/0.04459, allocations: 0.9771 MB / 345.2 MB, free: 1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.04462, allocations: 12 kB / 345.2 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.04463, allocations: 4 kB / 345.2 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004527/0.04508, allocations: 119.3 kB / 345.3 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008375/0.04592, allocations: 203.7 kB / 345.5 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005046/0.05097, allocations: 5.601 MB / 351.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.05162, allocations: 99.48 kB / 351.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/0.05169, allocations: 43.98 kB / 351.2 MB, free: 10.5 MB / 318.1 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.0003939/0.05209, allocations: 236.5 kB / 351.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.05222, allocations: 51.67 kB / 351.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.05386, allocations: 0.8434 MB / 352.4 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.05386, allocations: 8 kB / 352.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.05387, allocations: 4 kB / 352.4 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.05388, allocations: 3.984 kB / 352.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.0567, allocations: 1.545 MB / 353.9 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.05671, allocations: 4 kB / 353.9 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.05734, allocations: 139.8 kB / 354.1 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.05765, allocations: 107.6 kB / 354.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.0577, allocations: 27.92 kB / 354.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004628/0.06233, allocations: 5.177 MB / 359.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.06233, allocations: 7.938 kB / 359.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.06438, allocations: 1.261 MB / 360.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.06454, allocations: 63.52 kB / 360.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.343e-05/0.06463, allocations: 16 kB / 360.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.06506, allocations: 27.98 kB / 360.8 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.06518, allocations: 72.61 kB / 360.8 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.06523, allocations: 24 kB / 360.8 MB, free: 324 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002875/0.06552, allocations: 219.1 kB / 361.1 MB, free: 104 kB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06552, allocations: 0 / 361.1 MB, free: 104 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.001108/0.06662, allocations: 267.5 kB / 361.3 MB, free: 15.84 MB / 334.1 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.0003241/0.06695, allocations: 167.2 kB / 361.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.06896, allocations: 1.137 MB / 362.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.06896, allocations: 0 / 362.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.06998, allocations: 0.762 MB / 363.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.07055, allocations: 56.59 kB / 363.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.07327, allocations: 1.358 MB / 364.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.07364, allocations: 314.3 kB / 365.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004465/0.07409, allocations: 105 kB / 365.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.07424, allocations: 52.48 kB / 365.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.07424, allocations: 0 / 365.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of Templates: time 0.01509/0.08933, allocations: 6.734 MB / 372 MB, free: 5.059 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.586175162345171]