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.001255/0.001255, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001228/0.001228, allocations: 141.5 kB / 24.54 MB, free: 36 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 0.8696/0.8696, allocations: 173.3 MB / 201.1 MB, free: 9.367 MB / 186.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.212e-06/1.212e-06, allocations: 3.938 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.624e-05, allocations: 6.312 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003648/0.003664, allocations: 4.308 MB / 272.3 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.005747, allocations: 1.607 MB / 273.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.005928, allocations: 12 kB / 273.9 MB, free: 500 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.007192, allocations: 1.077 MB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.007605, allocations: 269.9 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.008483, allocations: 0.7627 MB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.008949, allocations: 0.6607 MB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005387/0.009488, allocations: 473.3 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.009837, allocations: 403 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.01011, allocations: 287.2 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.01017, allocations: 56 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.01052, allocations: 255.6 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.839e-05/0.01059, allocations: 143.4 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.01073, allocations: 219.4 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.01132, allocations: 0.7006 MB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01132, allocations: 0 / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01132, allocations: 0 / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.01133, allocations: 0 / 279.2 MB, free: 11.2 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.002187/0.01351, allocations: 1.299 MB / 280.5 MB, free: 9.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.01355, allocations: 8.922 kB / 280.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000837/0.01438, allocations: 359.9 kB / 280.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.01452, allocations: 187.8 kB / 281 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.01456, allocations: 58.38 kB / 281.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/0.01465, allocations: 76.33 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.01538, allocations: 0.6327 MB / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.0154, allocations: 4.188 kB / 281.8 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.01544, allocations: 28.38 kB / 281.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.01546, allocations: 23.94 kB / 281.9 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.01595, allocations: 355.5 kB / 282.2 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.0182, allocations: 2.198 MB / 284.4 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009464/0.01915, allocations: 0.7237 MB / 285.1 MB, free: 5.062 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.01941, allocations: 201.4 kB / 285.3 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.727e-05/0.01947, allocations: 20.64 kB / 285.3 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.01949, allocations: 46.27 kB / 285.4 MB, free: 4.785 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.274e-06/0.0195, allocations: 0 / 285.4 MB, free: 4.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001173/0.02067, allocations: 0.731 MB / 286.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.02071, allocations: 115.4 kB / 286.2 MB, free: 3.902 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.0209, allocations: 312.1 kB / 286.5 MB, free: 3.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.02093, allocations: 37.7 kB / 286.6 MB, free: 3.535 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.02106, allocations: 347.1 kB / 286.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.02118, allocations: 261.8 kB / 287.2 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.02155, allocations: 144.3 kB / 287.3 MB, free: 2.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.02167, allocations: 0.5235 MB / 287.8 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.02184, allocations: 121.9 kB / 287.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.02211, allocations: 359 kB / 288.3 MB, free: 1.691 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.02257, allocations: 493 kB / 288.8 MB, free: 1.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.02258, allocations: 4 kB / 288.8 MB, free: 1.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007135/0.02329, allocations: 0.6485 MB / 289.4 MB, free: 484 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.02331, allocations: 6.812 kB / 289.4 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.02332, allocations: 7.938 kB / 289.4 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004104/0.02373, allocations: 171.5 kB / 289.6 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.02405, allocations: 151.7 kB / 289.8 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1246/0.1486, allocations: 4.438 MB / 294.2 MB, free: 20.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.1491, allocations: 86.98 kB / 294.3 MB, free: 20.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.1492, allocations: 32.5 kB / 294.3 MB, free: 20.07 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.00019/0.1494, allocations: 203.7 kB / 294.5 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.1495, allocations: 65.64 kB / 294.6 MB, free: 19.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009839/0.1505, allocations: 0.5526 MB / 295.1 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.1505, allocations: 8 kB / 295.1 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1505, allocations: 3.641 kB / 295.1 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.1505, allocations: 4.672 kB / 295.1 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.1522, allocations: 1.149 MB / 296.3 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1522, allocations: 1.703 kB / 296.3 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.1526, allocations: 105.4 kB / 296.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005025/0.1531, allocations: 152.8 kB / 296.5 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.1531, allocations: 18.12 kB / 296.6 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/0.1548, allocations: 3.873 MB / 300.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1548, allocations: 0 / 300.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.156, allocations: 0.8835 MB / 301.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.1561, allocations: 46.75 kB / 301.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.1561, allocations: 12.91 kB / 301.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.1564, allocations: 23.02 kB / 301.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.1566, allocations: 70.53 kB / 301.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.1566, allocations: 19.42 kB / 301.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1568, allocations: 204.8 kB / 301.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1568, allocations: 0 / 301.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008288/0.1576, allocations: 220.5 kB / 301.9 MB, free: 15.43 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.0002421/0.1578, allocations: 147.8 kB / 302.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.159, allocations: 0.8055 MB / 302.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.159, allocations: 0 / 302.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.1595, allocations: 0.5859 MB / 303.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.16, allocations: 45.62 kB / 303.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.1619, allocations: 1.032 MB / 304.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.162, allocations: 134.9 kB / 304.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.1623, allocations: 79.06 kB / 304.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.1625, allocations: 46.36 kB / 304.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1625, allocations: 0.8438 kB / 304.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of Templates: time 0.0116/0.1741, allocations: 6.591 MB / 311.4 MB, free: 12.51 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=240 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8614686680957675]