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.00136/0.00136, allocations: 78.19 kB / 21.42 MB, free: 3.074 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.001434/0.001434, allocations: 148.7 kB / 24.8 MB, free: 9.281 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.9181/0.9181, allocations: 173.3 MB / 201.4 MB, free: 9.234 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.603e-06/1.603e-06, allocations: 0 / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.281e-05, allocations: 10.25 kB / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003814/0.003827, allocations: 4.195 MB / 272.6 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.00575, allocations: 1.603 MB / 274.2 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.005945, allocations: 12 kB / 274.2 MB, free: 372 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.007159, allocations: 1.05 MB / 275.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.007787, allocations: 262 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000827/0.008614, allocations: 0.751 MB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.009018, allocations: 0.6646 MB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.009472, allocations: 469.3 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.009786, allocations: 403.1 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.01003, allocations: 283.2 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.01009, allocations: 56 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.01039, allocations: 255.6 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.792e-05/0.01046, allocations: 139.4 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.01059, allocations: 223.4 kB / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.01113, allocations: 0.6966 MB / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.01113, allocations: 4 kB / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.01113, allocations: 4 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.01114, allocations: 3.938 kB / 279.4 MB, free: 11.12 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.001976/0.01311, allocations: 1.307 MB / 280.8 MB, free: 9.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.01315, allocations: 8.922 kB / 280.8 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008027/0.01395, allocations: 351.9 kB / 281.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.01406, allocations: 187.8 kB / 281.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.01409, allocations: 54.38 kB / 281.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-05/0.01417, allocations: 80.33 kB / 281.4 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.01473, allocations: 0.5856 MB / 282 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.01475, allocations: 192 / 282 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.01479, allocations: 32.38 kB / 282 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.01481, allocations: 19.94 kB / 282.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.01512, allocations: 272.9 kB / 282.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.01742, allocations: 2.221 MB / 284.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007751/0.01819, allocations: 0.673 MB / 285.2 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.01838, allocations: 178 kB / 285.4 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/0.01843, allocations: 28.62 kB / 285.4 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.01846, allocations: 46.03 kB / 285.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.943e-06/0.01846, allocations: 0 / 285.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0009463/0.01941, allocations: 0.6569 MB / 286.1 MB, free: 4.207 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.01944, allocations: 115.5 kB / 286.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.0196, allocations: 304 kB / 286.5 MB, free: 3.754 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.01962, allocations: 37.7 kB / 286.6 MB, free: 3.711 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.01976, allocations: 351.1 kB / 286.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.01988, allocations: 265.7 kB / 287.2 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.02001, allocations: 156.2 kB / 287.3 MB, free: 2.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.02014, allocations: 0.5273 MB / 287.8 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.02025, allocations: 89.92 kB / 287.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.02046, allocations: 326.8 kB / 288.3 MB, free: 1.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.02081, allocations: 445 kB / 288.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.02081, allocations: 0 / 288.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005724/0.02138, allocations: 0.5902 MB / 289.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.0214, allocations: 8 kB / 289.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.02141, allocations: 7.938 kB / 289.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.02177, allocations: 167.2 kB / 289.5 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.02232, allocations: 147.8 kB / 289.6 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1023/0.1246, allocations: 4.371 MB / 294 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.125, allocations: 83.25 kB / 294.1 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.125, allocations: 26.23 kB / 294.1 MB, free: 20.28 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.0001441/0.1252, allocations: 203.2 kB / 294.3 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.1252, allocations: 67.12 kB / 294.3 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005822/0.1258, allocations: 0.5051 MB / 294.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1258, allocations: 7.312 kB / 294.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1258, allocations: 2.469 kB / 294.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1258, allocations: 5.172 kB / 294.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1269, allocations: 1.031 MB / 295.9 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1269, allocations: 0 / 295.9 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.1271, allocations: 109.2 kB / 296 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003393/0.1275, allocations: 152.9 kB / 296.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.1275, allocations: 16.41 kB / 296.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.1286, allocations: 3.807 MB / 300 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1286, allocations: 1.25 kB / 300 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/0.1293, allocations: 0.8119 MB / 300.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1293, allocations: 50.06 kB / 300.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.1294, allocations: 14.2 kB / 300.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1295, allocations: 27.34 kB / 300.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/0.1296, allocations: 53.56 kB / 300.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.1297, allocations: 15.91 kB / 300.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.467e-05/0.1297, allocations: 206.8 kB / 301.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1298, allocations: 0 / 301.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000585/0.1303, allocations: 215.9 kB / 301.4 MB, free: 15.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.0001866/0.1305, allocations: 146.1 kB / 301.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006404/0.1312, allocations: 0.7587 MB / 302.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1312, allocations: 1.688 kB / 302.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.1315, allocations: 0.5588 MB / 302.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.1317, allocations: 51.2 kB / 302.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.133, allocations: 1.013 MB / 303.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.539e-05/0.1331, allocations: 135.7 kB / 304 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.1333, allocations: 81.91 kB / 304.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.1335, allocations: 139.4 kB / 304.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1335, allocations: 0 / 304.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of Templates: time 0.009074/0.1426, allocations: 6.673 MB / 310.9 MB, free: 12.77 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.882946766912937]