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.001366/0.001366, allocations: 107.6 kB / 21.19 MB, free: 0.6602 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.001612/0.001612, allocations: 213.4 kB / 24.48 MB, free: 3.965 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.478/1.478, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.001987/0.001987, allocations: 59.89 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2486, allocations: 53.41 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006905/0.2555, allocations: 4.694 MB / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00302/0.2585, allocations: 1.646 MB / 438.7 MB, free: 168 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.2588, allocations: 16 kB / 438.8 MB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.2619, allocations: 1.315 MB / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000836/0.2627, allocations: 321.6 kB / 440.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.2642, allocations: 0.6183 MB / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.2652, allocations: 0.8013 MB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.2662, allocations: 0.6634 MB / 442.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000447/0.2667, allocations: 362.7 kB / 442.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005194/0.2672, allocations: 410.1 kB / 443.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.2673, allocations: 72 kB / 443.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005292/0.2678, allocations: 255.8 kB / 443.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.268, allocations: 179.2 kB / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.2683, allocations: 342.4 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.2697, allocations: 1.213 MB / 445.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2697, allocations: 0 / 445.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2697, allocations: 0 / 445.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.2697, allocations: 0 / 445.3 MB, free: 9.613 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.003959/0.2736, allocations: 1.398 MB / 446.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2737, allocations: 11.98 kB / 446.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.2753, allocations: 244.2 kB / 446.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.2756, allocations: 210 kB / 447.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/0.2757, allocations: 74.38 kB / 447.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.2759, allocations: 96.38 kB / 447.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.2775, allocations: 0.9502 MB / 448.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.2776, allocations: 3.953 kB / 448.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/0.2777, allocations: 40 kB / 448.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.2777, allocations: 24 kB / 448.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.2791, allocations: 0.7809 MB / 449.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005229/0.2843, allocations: 2.71 MB / 451.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.2862, allocations: 0.8781 MB / 452.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.2867, allocations: 336.5 kB / 453 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.2869, allocations: 36.95 kB / 453 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.2869, allocations: 47.48 kB / 453.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.765e-06/0.2869, allocations: 0 / 453.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002165/0.2891, allocations: 1.003 MB / 454.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.2891, allocations: 90.11 kB / 454.2 MB, free: 476 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.2895, allocations: 335.8 kB / 454.5 MB, free: 132 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.2896, allocations: 41.7 kB / 454.5 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.2899, allocations: 400.1 kB / 454.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.2901, allocations: 309.3 kB / 455.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.2904, allocations: 174.9 kB / 455.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2906, allocations: 358.8 kB / 455.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004762/0.291, allocations: 266.5 kB / 456 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.2917, allocations: 475.4 kB / 456.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.2929, allocations: 0.7784 MB / 457.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2929, allocations: 7.875 kB / 457.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001755/0.2947, allocations: 0.981 MB / 458.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.2947, allocations: 8 kB / 458.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2947, allocations: 4 kB / 458.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004065/0.2951, allocations: 123.3 kB / 458.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007792/0.2959, allocations: 203.7 kB / 458.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/0.3006, allocations: 5.601 MB / 464.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.3012, allocations: 103.5 kB / 464.3 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.3013, allocations: 40 kB / 464.3 MB, free: 5.684 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.0003429/0.3017, allocations: 229.5 kB / 464.5 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.3018, allocations: 47.72 kB / 464.6 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.3033, allocations: 0.8511 MB / 465.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.3033, allocations: 8 kB / 465.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3033, allocations: 4 kB / 465.5 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3033, allocations: 3.984 kB / 465.5 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.3061, allocations: 1.565 MB / 467 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3061, allocations: 0 / 467 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.3067, allocations: 147.7 kB / 467.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002815/0.307, allocations: 111.3 kB / 467.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.307, allocations: 16.19 kB / 467.3 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/0.3112, allocations: 5.197 MB / 472.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3112, allocations: 8.188 kB / 472.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.3131, allocations: 1.285 MB / 473.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3132, allocations: 59.52 kB / 473.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.3133, allocations: 19.94 kB / 473.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.3136, allocations: 23.98 kB / 473.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3137, allocations: 64.48 kB / 473.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.3138, allocations: 27.98 kB / 474 MB, free: 11.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002509/0.314, allocations: 219.1 kB / 474.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.314, allocations: 0 / 474.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009747/0.315, allocations: 279.5 kB / 474.5 MB, free: 10.96 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.000344/0.3153, allocations: 155 kB / 474.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.317, allocations: 1.137 MB / 475.7 MB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.317, allocations: 4 kB / 475.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009036/0.3179, allocations: 0.7575 MB / 476.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.3185, allocations: 63.89 kB / 476.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.3211, allocations: 1.423 MB / 478 MB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.3214, allocations: 310.3 kB / 478.3 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.3217, allocations: 71.41 kB / 478.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3217, allocations: 0 / 478.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of Templates: time 0.02693/0.3486, allocations: 21.63 MB / 500 MB, free: 1.219 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.6554832640104]