Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001667, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.2 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 71.88 kB / 374.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1009, allocations: 53.32 MB / 427.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1898/0.2907, allocations: 5.273 MB / 433.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.2932, allocations: 1.744 MB / 434.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.2934, allocations: 17.47 kB / 434.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.2959, allocations: 1.429 MB / 436.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005928/0.2965, allocations: 325.4 kB / 436.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.2976, allocations: 0.6431 MB / 437.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007369/0.2983, allocations: 0.8039 MB / 438.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008315/0.2991, allocations: 0.5872 MB / 438.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.2995, allocations: 349.6 kB / 439 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.3, allocations: 474 kB / 439.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.3001, allocations: 79.41 kB / 439.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.3006, allocations: 264.3 kB / 439.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3007, allocations: 178 kB / 440 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.301, allocations: 422.5 kB / 440.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.3023, allocations: 1.204 MB / 441.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3023, allocations: 1.188 kB / 441.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3023, allocations: 0 / 441.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3023, allocations: 0 / 441.6 MB, free: 5.656 MB / 350.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.003905/0.3062, allocations: 1.465 MB / 443.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3063, allocations: 10.12 kB / 443.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.308, allocations: 243.2 kB / 443.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3082, allocations: 272.6 kB / 443.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.3082, allocations: 70.09 kB / 443.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.3084, allocations: 100.9 kB / 443.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.31, allocations: 0.9444 MB / 444.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.31, allocations: 11.02 kB / 444.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.3101, allocations: 40.8 kB / 444.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.3101, allocations: 23.69 kB / 444.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.3114, allocations: 0.7827 MB / 445.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004692/0.3161, allocations: 3.634 MB / 449.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.3178, allocations: 1.173 MB / 450.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.3183, allocations: 327.2 kB / 450.7 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.3184, allocations: 193.7 kB / 450.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3184, allocations: 48.67 kB / 450.9 MB, free: 96 kB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.334e-06/0.3184, allocations: 0 / 450.9 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002315/0.3208, allocations: 1.306 MB / 452.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.3208, allocations: 88.08 kB / 452.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.3213, allocations: 370.3 kB / 452.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.3213, allocations: 40.77 kB / 452.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.3216, allocations: 394.1 kB / 453.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.3218, allocations: 315.9 kB / 453.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.3221, allocations: 173.7 kB / 453.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3223, allocations: 362 kB / 453.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.3228, allocations: 268.9 kB / 454.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.3234, allocations: 472.2 kB / 454.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.3246, allocations: 0.7873 MB / 455.4 MB, free: 13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3246, allocations: 5.625 kB / 455.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001761/0.3264, allocations: 0.9795 MB / 456.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3264, allocations: 8.219 kB / 456.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.3264, allocations: 10.67 kB / 456.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/0.3268, allocations: 119.3 kB / 456.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.3276, allocations: 206.5 kB / 456.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004917/0.3325, allocations: 6.118 MB / 462.9 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/0.3332, allocations: 103.2 kB / 463 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/0.3333, allocations: 41.28 kB / 463 MB, free: 6.289 MB / 366.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.0003753/0.3337, allocations: 229.7 kB / 463.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.3338, allocations: 67.25 kB / 463.3 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.3353, allocations: 0.8373 MB / 464.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3354, allocations: 10.86 kB / 464.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3354, allocations: 2.812 kB / 464.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3354, allocations: 16.23 kB / 464.2 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.3384, allocations: 2.094 MB / 466.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3384, allocations: 2.688 kB / 466.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.339, allocations: 141.3 kB / 466.4 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002989/0.3393, allocations: 110.9 kB / 466.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.3394, allocations: 19.19 kB / 466.5 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004301/0.3437, allocations: 5.712 MB / 472.2 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.3437, allocations: 10.25 kB / 472.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.3456, allocations: 1.283 MB / 473.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.3458, allocations: 146.9 kB / 473.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.3458, allocations: 18.62 kB / 473.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.3462, allocations: 20.41 kB / 473.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3463, allocations: 70.12 kB / 473.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.3464, allocations: 30.47 kB / 473.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003175/0.3467, allocations: 253.5 kB / 474.1 MB, free: 13.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3467, allocations: 1.156 kB / 474.1 MB, free: 13.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00101/0.3477, allocations: 263.6 kB / 474.3 MB, free: 13.03 MB / 382.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.0002756/0.348, allocations: 162.1 kB / 474.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.3497, allocations: 1.139 MB / 475.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3497, allocations: 5.312 kB / 475.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009103/0.3506, allocations: 0.7593 MB / 476.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.3511, allocations: 63.06 kB / 476.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.3537, allocations: 1.43 MB / 477.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.3542, allocations: 0.9128 MB / 478.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.3545, allocations: 68.95 kB / 478.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3545, allocations: 1.062 kB / 478.9 MB, free: 9.699 MB / 382.1 MB Notification: Performance of Templates: time 0.03173/0.3862, allocations: 21.47 MB / 0.4886 GB, free: 6.25 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.62123649683781]