Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001058/0.001058, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00104/0.00104, allocations: 174.3 kB / 24.91 MB, free: 8.773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9971/0.9971, allocations: 177.1 MB / 205.3 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 273.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.203e-05, allocations: 6.312 kB / 273.5 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003614/0.003626, allocations: 4.258 MB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.005347, allocations: 1.731 MB / 279.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.005476, allocations: 12 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.006585, allocations: 1.077 MB / 280.6 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.006883, allocations: 262 kB / 280.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.007671, allocations: 0.7353 MB / 281.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.008056, allocations: 0.6607 MB / 282.2 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004605/0.008516, allocations: 495.3 kB / 282.7 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.008835, allocations: 403.1 kB / 283.1 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.00908, allocations: 291.2 kB / 283.4 MB, free: 7.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.009133, allocations: 56 kB / 283.4 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.009448, allocations: 291.5 kB / 283.7 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.009516, allocations: 143.4 kB / 283.9 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.009648, allocations: 219.4 kB / 284.1 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.01021, allocations: 0.7162 MB / 284.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.01021, allocations: 0 / 284.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01021, allocations: 0 / 284.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.01022, allocations: 0 / 284.8 MB, free: 5.742 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.001841/0.01206, allocations: 1.237 MB / 286 MB, free: 4.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.01209, allocations: 8.031 kB / 286 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009025/0.01299, allocations: 356.2 kB / 286.4 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.0131, allocations: 180.2 kB / 286.6 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.01313, allocations: 50.38 kB / 286.6 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/0.0132, allocations: 84.31 kB / 286.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.01369, allocations: 0.5695 MB / 287.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.01371, allocations: 4.172 kB / 287.3 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.01375, allocations: 32.38 kB / 287.3 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.01376, allocations: 23.94 kB / 287.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.01403, allocations: 219.4 kB / 287.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.0161, allocations: 1.801 MB / 289.3 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009337/0.01703, allocations: 0.6119 MB / 290 MB, free: 412 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.01724, allocations: 155.5 kB / 290.1 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-05/0.01732, allocations: 28.64 kB / 290.1 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.01734, allocations: 47.2 kB / 290.2 MB, free: 164 kB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.114e-06/0.01735, allocations: 0 / 290.2 MB, free: 164 kB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.1116/0.129, allocations: 0.542 MB / 290.7 MB, free: 20.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.129, allocations: 113.6 kB / 290.8 MB, free: 20.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1292, allocations: 247.3 kB / 291.1 MB, free: 20.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1292, allocations: 37.27 kB / 291.1 MB, free: 20.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.1293, allocations: 297 kB / 291.4 MB, free: 20.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.888e-05/0.1294, allocations: 257.5 kB / 291.7 MB, free: 20.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.1295, allocations: 139.5 kB / 291.8 MB, free: 20.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.1296, allocations: 352.8 kB / 292.1 MB, free: 19.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1297, allocations: 81.39 kB / 292.2 MB, free: 19.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1299, allocations: 261 kB / 292.5 MB, free: 19.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.1302, allocations: 381.4 kB / 292.8 MB, free: 19.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1302, allocations: 4.594 kB / 292.8 MB, free: 19.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005325/0.1307, allocations: 463.1 kB / 293.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1308, allocations: 9.812 kB / 293.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1308, allocations: 3.594 kB / 293.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004092/0.1312, allocations: 147.7 kB / 293.5 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.1315, allocations: 160.7 kB / 293.6 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.1329, allocations: 3.026 MB / 296.6 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.1331, allocations: 81.83 kB / 296.7 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.1332, allocations: 21.42 kB / 296.7 MB, free: 16.75 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.0001076/0.1333, allocations: 157 kB / 296.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.1333, allocations: 45.58 kB / 296.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/0.1338, allocations: 422.6 kB / 297.3 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1338, allocations: 8.906 kB / 297.4 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1338, allocations: 2.625 kB / 297.4 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1338, allocations: 5.109 kB / 297.4 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.1349, allocations: 0.7761 MB / 298.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1349, allocations: 1.562 kB / 298.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.1351, allocations: 107 kB / 298.2 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/0.1354, allocations: 135.2 kB / 298.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.1354, allocations: 15.39 kB / 298.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009408/0.1364, allocations: 2.647 MB / 301 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1364, allocations: 1.406 kB / 301 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.137, allocations: 0.614 MB / 301.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.137, allocations: 46.95 kB / 301.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.137, allocations: 17.3 kB / 301.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1372, allocations: 20.73 kB / 301.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/0.1373, allocations: 57.05 kB / 301.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.1373, allocations: 16.45 kB / 301.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.428e-05/0.1374, allocations: 79.44 kB / 301.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1374, allocations: 0 / 301.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005013/0.1379, allocations: 223 kB / 302.1 MB, free: 13.71 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.0001704/0.138, allocations: 138 kB / 302.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005465/0.1386, allocations: 0.6135 MB / 302.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.1386, allocations: 3.875 kB / 302.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.1388, allocations: 454.2 kB / 303.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1391, allocations: 45.3 kB / 303.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1403, allocations: 0.9642 MB / 304.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.334e-05/0.1404, allocations: 139.5 kB / 304.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.1406, allocations: 81.55 kB / 304.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.1407, allocations: 112.3 kB / 304.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1407, allocations: 0 / 304.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Templates: time 0.008541/0.1492, allocations: 6.768 MB / 311.4 MB, free: 10.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.790292540099472]