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.0009029/0.0009029, allocations: 68.08 kB / 21.69 MB, free: 2.863 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.001382/0.001382, allocations: 147.8 kB / 24.98 MB, free: 8.816 MB / 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.898/0.898, allocations: 173.4 MB / 201.5 MB, free: 9.348 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.233e-06/1.233e-06, allocations: 0 / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.205e-05, allocations: 10.19 kB / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003764/0.003776, allocations: 4.289 MB / 272.4 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.005671, allocations: 1.607 MB / 274 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.005851, allocations: 12 kB / 274 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.007037, allocations: 1.069 MB / 275.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.007428, allocations: 265.9 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008556/0.008284, allocations: 0.7627 MB / 276.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000434/0.008718, allocations: 0.6608 MB / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.0092, allocations: 473.3 kB / 277.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000569/0.009769, allocations: 407 kB / 277.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.01003, allocations: 279.2 kB / 277.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/0.01008, allocations: 56 kB / 277.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.01039, allocations: 255.6 kB / 278.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.575e-05/0.01046, allocations: 143.4 kB / 278.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.01059, allocations: 223.4 kB / 278.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.01115, allocations: 0.7006 MB / 279.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01115, allocations: 4 kB / 279.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01115, allocations: 0 / 279.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.01116, allocations: 0 / 279.2 MB, free: 11.52 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.001987/0.01315, allocations: 1.296 MB / 280.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.01318, allocations: 12.92 kB / 280.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009595/0.01414, allocations: 359.9 kB / 280.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.01428, allocations: 187.8 kB / 281.1 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.01431, allocations: 54.38 kB / 281.1 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.01439, allocations: 76.33 kB / 281.2 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.0151, allocations: 0.6327 MB / 281.8 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.01512, allocations: 4.125 kB / 281.8 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.01516, allocations: 32.38 kB / 281.9 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.01518, allocations: 19.94 kB / 281.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.0157, allocations: 359.5 kB / 282.3 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.01787, allocations: 2.206 MB / 284.5 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.01903, allocations: 0.7082 MB / 285.2 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.01933, allocations: 201.4 kB / 285.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.373e-05/0.0194, allocations: 28.64 kB / 285.4 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.01942, allocations: 46.27 kB / 285.4 MB, free: 5.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/0.01943, allocations: 0 / 285.4 MB, free: 5.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001186/0.02061, allocations: 0.7232 MB / 286.2 MB, free: 4.359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.02066, allocations: 115.4 kB / 286.3 MB, free: 4.223 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.02084, allocations: 312.1 kB / 286.6 MB, free: 3.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.02087, allocations: 37.7 kB / 286.6 MB, free: 3.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.021, allocations: 351.1 kB / 287 MB, free: 3.504 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.02112, allocations: 261.8 kB / 287.2 MB, free: 3.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.02126, allocations: 148.3 kB / 287.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.02138, allocations: 0.5235 MB / 287.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.02158, allocations: 117.9 kB / 288 MB, free: 2.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.02186, allocations: 361.9 kB / 288.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.02234, allocations: 489 kB / 288.8 MB, free: 1.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.02234, allocations: 0 / 288.8 MB, free: 1.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007375/0.02308, allocations: 0.6527 MB / 289.5 MB, free: 0.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.02309, allocations: 8 kB / 289.5 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.0231, allocations: 7.938 kB / 289.5 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/0.02352, allocations: 171.5 kB / 289.7 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.02385, allocations: 155.7 kB / 289.8 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.101/0.1248, allocations: 4.443 MB / 294.3 MB, free: 27.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.1251, allocations: 78.38 kB / 294.3 MB, free: 27.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.1252, allocations: 33.8 kB / 294.4 MB, free: 27.84 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.0001526/0.1253, allocations: 201.3 kB / 294.6 MB, free: 27.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.1254, allocations: 65.94 kB / 294.6 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007317/0.1261, allocations: 0.5551 MB / 295.2 MB, free: 27.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1261, allocations: 7.625 kB / 295.2 MB, free: 27.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1261, allocations: 5.234 kB / 295.2 MB, free: 27.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.1262, allocations: 4.641 kB / 295.2 MB, free: 27.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.1274, allocations: 1.143 MB / 296.3 MB, free: 27.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1274, allocations: 0 / 296.3 MB, free: 27.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.1277, allocations: 109.5 kB / 296.4 MB, free: 27.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003538/0.128, allocations: 154.1 kB / 296.6 MB, free: 27.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.128, allocations: 18.94 kB / 296.6 MB, free: 27.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.1292, allocations: 3.878 MB / 300.5 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1292, allocations: 1.156 kB / 300.5 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.13, allocations: 0.8831 MB / 301.4 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.1301, allocations: 47.67 kB / 301.4 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.1301, allocations: 16.5 kB / 301.4 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1303, allocations: 24.81 kB / 301.5 MB, free: 22.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.1304, allocations: 59.61 kB / 301.5 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.1304, allocations: 19.73 kB / 301.5 MB, free: 22.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.931e-05/0.1305, allocations: 208 kB / 301.7 MB, free: 22.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1305, allocations: 0 / 301.7 MB, free: 22.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000521/0.131, allocations: 219.7 kB / 302 MB, free: 22.73 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.0001903/0.1312, allocations: 146.1 kB / 302.1 MB, free: 22.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000762/0.132, allocations: 0.8054 MB / 302.9 MB, free: 22.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.132, allocations: 3.938 kB / 302.9 MB, free: 22.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.1323, allocations: 0.5789 MB / 303.5 MB, free: 21.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1326, allocations: 41.95 kB / 303.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.134, allocations: 1.036 MB / 304.6 MB, free: 21.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.756e-05/0.1341, allocations: 136.1 kB / 304.7 MB, free: 21.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002435/0.1344, allocations: 82.61 kB / 304.8 MB, free: 21.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1345, allocations: 46.8 kB / 304.8 MB, free: 21.03 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1345, allocations: 3.828 kB / 304.8 MB, free: 21.03 MB / 266.7 MB Notification: Performance of Templates: time 0.008038/0.1425, allocations: 6.104 MB / 310.9 MB, free: 19.17 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.9042971490416676]