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.002032/0.002032, allocations: 88.64 kB / 20.95 MB, free: 3.586 MB / 18.57 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.002297/0.002297, allocations: 153.4 kB / 24.26 MB, free: 288 kB / 18.57 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.44/1.44, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] 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.894e-06/1.894e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.578e-05, allocations: 6.25 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.01043/0.01047, allocations: 3.923 MB / 271.2 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004924/0.01539, allocations: 1.564 MB / 272.8 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.01584, allocations: 12 kB / 272.8 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004004/0.01985, allocations: 0.9913 MB / 273.8 MB, free: 196 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.02103, allocations: 262.1 kB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.02391, allocations: 0.7588 MB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.02525, allocations: 0.6685 MB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.02642, allocations: 453.4 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008479/0.02727, allocations: 415 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.02797, allocations: 267.2 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.02811, allocations: 56 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008235/0.02893, allocations: 251.6 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.02915, allocations: 143.4 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.02957, allocations: 231.4 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.03159, allocations: 0.9967 MB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.03159, allocations: 0 / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.03159, allocations: 0 / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.0316, allocations: 0 / 278.3 MB, free: 11.71 MB / 266.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.006308/0.03791, allocations: 1.188 MB / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.03795, allocations: 12.92 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/0.04077, allocations: 347.9 kB / 279.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.04109, allocations: 180.9 kB / 280 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.0412, allocations: 58.38 kB / 280 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.04142, allocations: 80.31 kB / 280.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.04305, allocations: 0.7916 MB / 280.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.04308, allocations: 4.125 kB / 280.9 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.04315, allocations: 32.38 kB / 280.9 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.04318, allocations: 23.94 kB / 281 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.04466, allocations: 0.661 MB / 281.6 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.04876, allocations: 2.216 MB / 283.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.0508, allocations: 0.809 MB / 284.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/0.05152, allocations: 295.7 kB / 284.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-05/0.05161, allocations: 24.64 kB / 285 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.05166, allocations: 43.2 kB / 285 MB, free: 4.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.434e-06/0.05166, allocations: 0 / 285 MB, free: 4.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002886/0.05454, allocations: 1.007 MB / 286 MB, free: 3.754 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.05465, allocations: 115.5 kB / 286.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.05497, allocations: 265.5 kB / 286.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.05503, allocations: 41.7 kB / 286.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.05528, allocations: 300.4 kB / 286.7 MB, free: 3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.05553, allocations: 257.8 kB / 287 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.05576, allocations: 134.6 kB / 287.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.05597, allocations: 346.8 kB / 287.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000568/0.05654, allocations: 229.9 kB / 287.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007464/0.05728, allocations: 420 kB / 288.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.05862, allocations: 0.6298 MB / 288.7 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.05863, allocations: 4 kB / 288.7 MB, free: 0.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001898/0.06053, allocations: 0.8581 MB / 289.6 MB, free: 8 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.06055, allocations: 8 kB / 289.6 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1052/0.1657, allocations: 3.891 kB / 289.6 MB, free: 32.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008957/0.1666, allocations: 175.9 kB / 289.8 MB, free: 32.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/0.1673, allocations: 162.1 kB / 289.9 MB, free: 32.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.1698, allocations: 3.522 MB / 293.4 MB, free: 29.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.1704, allocations: 87.11 kB / 293.5 MB, free: 29.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.1704, allocations: 37.05 kB / 293.6 MB, free: 29.49 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.0002201/0.1707, allocations: 201.8 kB / 293.8 MB, free: 29.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.1708, allocations: 64.03 kB / 293.8 MB, free: 29.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.1723, allocations: 0.7433 MB / 294.6 MB, free: 28.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1723, allocations: 7.406 kB / 294.6 MB, free: 28.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1723, allocations: 1.969 kB / 294.6 MB, free: 28.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.1723, allocations: 5.516 kB / 294.6 MB, free: 28.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.1745, allocations: 1.286 MB / 295.9 MB, free: 28.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1745, allocations: 2.031 kB / 295.9 MB, free: 28.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005136/0.175, allocations: 118 kB / 296 MB, free: 28.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006841/0.1757, allocations: 164.7 kB / 296.1 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.1757, allocations: 15.39 kB / 296.2 MB, free: 28.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.1777, allocations: 3.086 MB / 299.2 MB, free: 25.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1777, allocations: 0 / 299.2 MB, free: 25.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.1795, allocations: 1.135 MB / 300.4 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.1796, allocations: 57.14 kB / 300.4 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.1796, allocations: 11.59 kB / 300.4 MB, free: 24.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.18, allocations: 29.2 kB / 300.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.1801, allocations: 61.86 kB / 300.5 MB, free: 24.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.1802, allocations: 20.45 kB / 300.6 MB, free: 24.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1803, allocations: 181.3 kB / 300.7 MB, free: 24.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1803, allocations: 0 / 300.7 MB, free: 24.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007594/0.1811, allocations: 218.2 kB / 300.9 MB, free: 24.67 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.0002254/0.1813, allocations: 152.6 kB / 301.1 MB, free: 24.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.1828, allocations: 0.8532 MB / 301.9 MB, free: 24.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1828, allocations: 0 / 301.9 MB, free: 24.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006972/0.1835, allocations: 0.5345 MB / 302.5 MB, free: 23.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1839, allocations: 49.88 kB / 302.5 MB, free: 23.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.1857, allocations: 1.082 MB / 303.6 MB, free: 23.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.186, allocations: 265.8 kB / 303.9 MB, free: 23.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003274/0.1863, allocations: 83.56 kB / 304 MB, free: 23.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.1864, allocations: 46.56 kB / 304 MB, free: 23.03 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1864, allocations: 0 / 304 MB, free: 23.03 MB / 266.7 MB Notification: Performance of Templates: time 0.01051/0.1969, allocations: 6.053 MB / 310 MB, free: 20.34 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.464698154013604]