Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.001106/0.001106, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001675/0.002781, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001053/0.001053, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00152/0.002573, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.849/0.849, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1364/0.9854, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 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.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.055e-05, allocations: 2.312 kB / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005827/0.005847, allocations: 4.272 MB / 244 MB, free: 2.094 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.009045, allocations: 1.671 MB / 245.7 MB, free: 428 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004326/0.009477, allocations: 12.69 kB / 245.7 MB, free: 416 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.01151, allocations: 1.082 MB / 246.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000799/0.01231, allocations: 252.9 kB / 247 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.0138, allocations: 0.7698 MB / 247.8 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008701/0.01467, allocations: 0.6647 MB / 248.5 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007583/0.01543, allocations: 464.1 kB / 248.9 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006294/0.01606, allocations: 419.7 kB / 249.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.01653, allocations: 283.2 kB / 249.6 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.01663, allocations: 58.53 kB / 249.7 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.01728, allocations: 267.6 kB / 249.9 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.01743, allocations: 103.6 kB / 250 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.01766, allocations: 183.6 kB / 250.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009956/0.01865, allocations: 0.6305 MB / 250.8 MB, free: 11.26 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.541e-05/0.01867, allocations: 0 / 250.8 MB, free: 11.26 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.01867, allocations: 0 / 250.8 MB, free: 11.26 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.01869, allocations: 4.969 kB / 250.8 MB, free: 11.26 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003248/0.02194, allocations: 1.424 MB / 252.3 MB, free: 9.789 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.02198, allocations: 8.031 kB / 252.3 MB, free: 9.781 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.02346, allocations: 364.2 kB / 252.6 MB, free: 9.426 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.02367, allocations: 177 kB / 252.8 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.02373, allocations: 58.38 kB / 252.9 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.02386, allocations: 76.31 kB / 252.9 MB, free: 9.098 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008909/0.02475, allocations: 0.5773 MB / 253.5 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.02478, allocations: 8.141 kB / 253.5 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.02491, allocations: 28.38 kB / 253.5 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.02493, allocations: 23.94 kB / 253.6 MB, free: 8.438 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.02543, allocations: 225 kB / 253.8 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005838/0.03127, allocations: 1.79 MB / 255.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.03241, allocations: 0.6423 MB / 256.2 MB, free: 5.684 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.03269, allocations: 159.7 kB / 256.4 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.843e-05/0.03279, allocations: 24.66 kB / 256.4 MB, free: 5.496 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.03283, allocations: 43.2 kB / 256.4 MB, free: 5.445 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 3.818e-06/0.03283, allocations: 0 / 256.4 MB, free: 5.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.001226/0.03406, allocations: 0.55 MB / 257 MB, free: 4.883 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.0341, allocations: 85.77 kB / 257.1 MB, free: 4.781 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.0343, allocations: 244.8 kB / 257.3 MB, free: 4.535 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.03434, allocations: 37.7 kB / 257.3 MB, free: 4.492 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.0345, allocations: 296.3 kB / 257.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.03468, allocations: 261.8 kB / 257.9 MB, free: 3.938 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.03487, allocations: 142.5 kB / 258 MB, free: 3.789 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.03498, allocations: 354.7 kB / 258.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.03515, allocations: 77.95 kB / 258.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.03541, allocations: 256 kB / 258.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.03587, allocations: 389.2 kB / 259.1 MB, free: 2.617 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.03588, allocations: 0 / 259.1 MB, free: 2.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005252/0.0364, allocations: 472.9 kB / 259.5 MB, free: 2.141 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.03642, allocations: 11.98 kB / 259.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.03643, allocations: 4 kB / 259.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003691/0.0368, allocations: 153.5 kB / 259.7 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.03715, allocations: 175.8 kB / 259.9 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.03881, allocations: 3.021 MB / 262.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.03906, allocations: 79.41 kB / 263 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.03909, allocations: 27.98 kB / 263 MB, free: 14.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.03922, allocations: 141.7 kB / 263.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.03929, allocations: 59.92 kB / 263.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.03974, allocations: 427.3 kB / 263.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.03974, allocations: 8 kB / 263.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.03975, allocations: 7.938 kB / 263.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.03976, allocations: 3.984 kB / 263.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008515/0.04061, allocations: 0.759 MB / 264.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.04061, allocations: 7.938 kB / 264.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.04086, allocations: 119.9 kB / 264.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.0409, allocations: 47.58 kB / 264.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/0.04119, allocations: 129.9 kB / 264.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.04122, allocations: 23.94 kB / 264.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.04243, allocations: 2.631 MB / 267.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.04243, allocations: 4 kB / 267.4 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.04297, allocations: 0.6175 MB / 268 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.04301, allocations: 12 kB / 268 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.04318, allocations: 23.92 kB / 268 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.04326, allocations: 52.55 kB / 268.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.04328, allocations: 20.05 kB / 268.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.509e-05/0.04334, allocations: 78.78 kB / 268.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04334, allocations: 0 / 268.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004973/0.04384, allocations: 215.6 kB / 268.4 MB, free: 8.883 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001962/0.04404, allocations: 140.2 kB / 268.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000576/0.04461, allocations: 0.6174 MB / 269.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/0.04463, allocations: 5.5 kB / 269.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.04496, allocations: 488.2 kB / 269.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.04532, allocations: 196.1 kB / 269.8 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/0.05013, allocations: 1.076 MB / 270.9 MB, free: 6.258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.497e-05/0.05023, allocations: 140.7 kB / 271 MB, free: 6.098 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000221/0.05045, allocations: 92.34 kB / 271.1 MB, free: 6.008 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.05061, allocations: 115.4 kB / 271.2 MB, free: 5.895 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.05061, allocations: 0 / 271.2 MB, free: 5.895 MB / 266.7 MB Notification: Performance of Templates: time 0.00931/0.05992, allocations: 6.986 MB / 278.2 MB, free: 14.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.606915128417313]