Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 84.98 kB / 23 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 171.6 kB / 26.39 MB, free: 8.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9382/0.9382, allocations: 158.6 MB / 188.3 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.427e-05, allocations: 6.25 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003958/0.003982, allocations: 4.163 MB / 256.4 MB, free: 3.055 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.006437, allocations: 1.628 MB / 258 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.006756, allocations: 16 kB / 258.1 MB, free: 1.398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.008099, allocations: 1.042 MB / 259.1 MB, free: 360 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005592/0.008658, allocations: 265.9 kB / 259.4 MB, free: 92 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.009704, allocations: 0.716 MB / 260.1 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006381/0.01034, allocations: 0.6607 MB / 260.7 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005317/0.01087, allocations: 469.3 kB / 261.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.01124, allocations: 411 kB / 261.6 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.01152, allocations: 279.2 kB / 261.9 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.01159, allocations: 56 kB / 261.9 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.01201, allocations: 251.6 kB / 262.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.01208, allocations: 147.4 kB / 262.3 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.01223, allocations: 227.4 kB / 262.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006468/0.01288, allocations: 0.6889 MB / 263.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01288, allocations: 0 / 263.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01288, allocations: 0 / 263.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.01289, allocations: 4 kB / 263.2 MB, free: 12.2 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.001968/0.01486, allocations: 1.307 MB / 264.5 MB, free: 10.86 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.01489, allocations: 15.98 kB / 264.6 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008465/0.01574, allocations: 351.9 kB / 264.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.01587, allocations: 183.8 kB / 265.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.01591, allocations: 58.31 kB / 265.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/0.01599, allocations: 76.38 kB / 265.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/0.01659, allocations: 0.5818 MB / 265.8 MB, free: 9.551 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.01661, allocations: 192 / 265.8 MB, free: 9.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.01665, allocations: 32.38 kB / 265.8 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.01666, allocations: 19.94 kB / 265.8 MB, free: 9.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.017, allocations: 272.8 kB / 266.1 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.0192, allocations: 2.218 MB / 268.3 MB, free: 6.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008475/0.02005, allocations: 0.6876 MB / 269 MB, free: 6.207 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.02026, allocations: 173.2 kB / 269.2 MB, free: 6.031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.862e-05/0.02032, allocations: 16.66 kB / 269.2 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.02035, allocations: 50.03 kB / 269.3 MB, free: 5.953 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 1.994e-06/0.02035, allocations: 0 / 269.3 MB, free: 5.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.001025/0.02137, allocations: 0.657 MB / 269.9 MB, free: 5.285 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.02142, allocations: 115.5 kB / 270 MB, free: 5.148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.02159, allocations: 304 kB / 270.3 MB, free: 4.832 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.02162, allocations: 33.7 kB / 270.4 MB, free: 4.793 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.02176, allocations: 363 kB / 270.7 MB, free: 4.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.02189, allocations: 253.8 kB / 271 MB, free: 4.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.02203, allocations: 156.2 kB / 271.1 MB, free: 4.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.02216, allocations: 0.5273 MB / 271.6 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.02228, allocations: 97.86 kB / 271.7 MB, free: 3.387 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.02251, allocations: 338.8 kB / 272.1 MB, free: 2.973 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.02287, allocations: 437.2 kB / 272.5 MB, free: 2.477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.02287, allocations: 4 kB / 272.5 MB, free: 2.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006139/0.02349, allocations: 0.5859 MB / 273.1 MB, free: 1.867 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.0235, allocations: 8 kB / 273.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.02351, allocations: 7.938 kB / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/0.0239, allocations: 159.7 kB / 273.2 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.02422, allocations: 151.8 kB / 273.4 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.02632, allocations: 4.384 MB / 277.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.02658, allocations: 79.52 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.02661, allocations: 23.98 kB / 277.9 MB, free: 12.83 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.00016/0.02677, allocations: 204.4 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.02685, allocations: 67.66 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/0.02742, allocations: 0.5048 MB / 278.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.02743, allocations: 11.94 kB / 278.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.02743, allocations: 4 kB / 278.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.02744, allocations: 3.984 kB / 278.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.02853, allocations: 1.029 MB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02853, allocations: 0 / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.02878, allocations: 111.8 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00032/0.0291, allocations: 143.5 kB / 280 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.02912, allocations: 23.98 kB / 280 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.03076, allocations: 3.806 MB / 283.8 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.03076, allocations: 0 / 283.8 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.03146, allocations: 0.8028 MB / 284.6 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.03151, allocations: 59.59 kB / 284.6 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.03154, allocations: 8 kB / 284.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.03171, allocations: 27.98 kB / 284.7 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.03179, allocations: 56.55 kB / 284.7 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.03181, allocations: 12 kB / 284.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.195e-05/0.0319, allocations: 201.1 kB / 284.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0319, allocations: 0 / 284.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005556/0.03246, allocations: 219.6 kB / 285.2 MB, free: 5.219 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.0002067/0.03266, allocations: 147.1 kB / 285.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007023/0.03337, allocations: 0.7582 MB / 286.1 MB, free: 4.273 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.03337, allocations: 0 / 286.1 MB, free: 4.273 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.0337, allocations: 0.5667 MB / 286.6 MB, free: 3.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.034, allocations: 56.36 kB / 286.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.03535, allocations: 1.011 MB / 287.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.462e-05/0.03544, allocations: 136.8 kB / 287.8 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.03565, allocations: 80.31 kB / 287.9 MB, free: 2.336 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.03582, allocations: 142.2 kB / 288 MB, free: 2.195 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.03582, allocations: 0 / 288 MB, free: 2.195 MB / 266.7 MB Notification: Performance of Templates: time 0.009059/0.04488, allocations: 6.773 MB / 294.8 MB, free: 11.45 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8593543991446495]