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.001746/0.001746, allocations: 81.58 kB / 20.68 MB, free: 1.027 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.001929/0.001929, allocations: 147.3 kB / 23.94 MB, free: 4.168 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.381/1.381, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 179] 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.262e-06/1.262e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.391e-05, allocations: 2.281 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005292/0.005316, allocations: 4.679 MB / 323.6 MB, free: 456 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.008429, allocations: 1.604 MB / 325.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.008743, allocations: 16.84 kB / 325.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.01218, allocations: 1.393 MB / 326.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.0132, allocations: 322.3 kB / 326.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.01502, allocations: 0.7611 MB / 327.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.0163, allocations: 0.8488 MB / 328.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.01745, allocations: 0.6664 MB / 329.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006959/0.01814, allocations: 0.5195 MB / 329.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005532/0.0187, allocations: 356.7 kB / 330.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.01881, allocations: 73.66 kB / 330.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006317/0.01944, allocations: 240 kB / 330.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.01961, allocations: 182.2 kB / 330.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.01995, allocations: 287.8 kB / 330.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.0215, allocations: 1.225 MB / 332.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.0215, allocations: 4 kB / 332.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0215, allocations: 0 / 332.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.02152, allocations: 1.156 kB / 332.1 MB, free: 11.75 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.004195/0.02572, allocations: 1.373 MB / 333.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.02576, allocations: 15.05 kB / 333.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.02752, allocations: 256.3 kB / 333.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.0278, allocations: 205.4 kB / 333.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/0.02788, allocations: 74.38 kB / 334 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.02804, allocations: 99.67 kB / 334.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.02968, allocations: 0.9399 MB / 335 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.02972, allocations: 2.625 kB / 335 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/0.02981, allocations: 40.62 kB / 335.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.02983, allocations: 27.25 kB / 335.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.03118, allocations: 0.7762 MB / 335.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005047/0.03623, allocations: 2.687 MB / 338.6 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.03814, allocations: 0.8748 MB / 339.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.03869, allocations: 333.1 kB / 339.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.95e-05/0.03878, allocations: 24.92 kB / 339.8 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.03881, allocations: 47.56 kB / 339.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.136e-06/0.03882, allocations: 0 / 339.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002197/0.04101, allocations: 0.9954 MB / 340.8 MB, free: 5.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.04108, allocations: 86.11 kB / 340.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.04151, allocations: 343.8 kB / 341.3 MB, free: 5.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.04156, allocations: 41.7 kB / 341.3 MB, free: 5.055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.04184, allocations: 392.2 kB / 341.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/0.04211, allocations: 313.3 kB / 342 MB, free: 4.355 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.04238, allocations: 170.9 kB / 342.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.04257, allocations: 358.8 kB / 342.5 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.04306, allocations: 274.5 kB / 342.8 MB, free: 3.555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.04373, allocations: 475.4 kB / 343.2 MB, free: 3.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.04493, allocations: 0.7706 MB / 344 MB, free: 2.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.04494, allocations: 4 kB / 344 MB, free: 2.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001768/0.04671, allocations: 0.9653 MB / 345 MB, free: 1.176 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.04673, allocations: 8 kB / 345 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.04674, allocations: 8 kB / 345 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004309/0.04717, allocations: 131.5 kB / 345.1 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/0.048, allocations: 203.7 kB / 345.3 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004682/0.05268, allocations: 5.597 MB / 350.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/0.05337, allocations: 103.2 kB / 351 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.05343, allocations: 40 kB / 351.1 MB, free: 10.67 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.0003731/0.05381, allocations: 229.5 kB / 351.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.05393, allocations: 51.67 kB / 351.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.0555, allocations: 0.8395 MB / 352.2 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.05551, allocations: 12 kB / 352.2 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.05551, allocations: 4 kB / 352.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.05552, allocations: 3.984 kB / 352.2 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.05842, allocations: 1.538 MB / 353.7 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/0.05843, allocations: 7.984 kB / 353.7 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/0.05904, allocations: 136.1 kB / 353.9 MB, free: 7.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/0.05936, allocations: 115.3 kB / 354 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.05941, allocations: 20 kB / 354 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004202/0.06362, allocations: 5.185 MB / 359.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/0.06362, allocations: 7.938 kB / 359.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.0656, allocations: 1.262 MB / 360.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.06575, allocations: 67.53 kB / 360.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.462e-05/0.06582, allocations: 16 kB / 360.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.06622, allocations: 20 kB / 360.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.06636, allocations: 68.42 kB / 360.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.0664, allocations: 31.98 kB / 360.6 MB, free: 500 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.06665, allocations: 219.1 kB / 360.9 MB, free: 280 kB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06665, allocations: 0 / 360.9 MB, free: 280 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009984/0.06765, allocations: 267.5 kB / 361.1 MB, free: 12 kB / 318.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.0003264/0.06798, allocations: 159.1 kB / 361.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.06969, allocations: 1.134 MB / 362.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.0697, allocations: 4.375 kB / 362.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009145/0.07061, allocations: 0.76 MB / 363.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.07117, allocations: 59.56 kB / 363.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.07385, allocations: 1.362 MB / 364.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.07419, allocations: 314.3 kB / 364.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000423/0.07461, allocations: 104.9 kB / 365 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.07477, allocations: 48.5 kB / 365.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.07477, allocations: 0 / 365.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of Templates: time 0.01515/0.08993, allocations: 6.756 MB / 371.8 MB, free: 5.219 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.557804383337498]