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.001016/0.001016, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001/0.001, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 1.122/1.122, allocations: 177.2 MB / 205 MB, free: 5.586 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.863e-06/1.863e-06, allocations: 0 / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.157e-05, allocations: 2.312 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004048/0.004069, allocations: 4.323 MB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.006637, allocations: 1.677 MB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.006864, allocations: 12 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.008245, allocations: 1.089 MB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004769/0.008722, allocations: 270 kB / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.009773, allocations: 0.7433 MB / 281.1 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006509/0.01042, allocations: 0.6607 MB / 281.8 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005909/0.01101, allocations: 457.3 kB / 282.2 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/0.01144, allocations: 411 kB / 282.6 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.01175, allocations: 275.2 kB / 282.9 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.143e-05/0.01182, allocations: 56 kB / 282.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.01229, allocations: 279.5 kB / 283.2 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.01238, allocations: 139.4 kB / 283.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.01254, allocations: 227.4 kB / 283.6 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007381/0.01328, allocations: 0.7123 MB / 284.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01328, allocations: 0 / 284.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01328, allocations: 0 / 284.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.01329, allocations: 0 / 284.3 MB, free: 6.164 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.002087/0.01538, allocations: 1.315 MB / 285.6 MB, free: 4.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.01542, allocations: 12.03 kB / 285.6 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000861/0.01628, allocations: 335.9 kB / 285.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.01676, allocations: 182.3 kB / 286.1 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.01681, allocations: 54.38 kB / 286.2 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.01692, allocations: 84.3 kB / 286.2 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007819/0.0177, allocations: 0.6288 MB / 286.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.01772, allocations: 192 / 286.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.01777, allocations: 32.38 kB / 286.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.01778, allocations: 19.94 kB / 286.9 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005302/0.01831, allocations: 357.9 kB / 287.3 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.02075, allocations: 2.233 MB / 289.5 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009864/0.02174, allocations: 0.7275 MB / 290.2 MB, free: 0 / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1206/0.1424, allocations: 195.3 kB / 290.4 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.1425, allocations: 33.84 kB / 290.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1425, allocations: 43.98 kB / 290.5 MB, free: 20.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.615e-06/0.1425, allocations: 0 / 290.5 MB, free: 20.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001368/0.1439, allocations: 0.7286 MB / 291.2 MB, free: 20.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1439, allocations: 112 kB / 291.3 MB, free: 20.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1441, allocations: 310.2 kB / 291.6 MB, free: 20.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1442, allocations: 39.45 kB / 291.7 MB, free: 20.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1443, allocations: 356.5 kB / 292 MB, free: 19.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1444, allocations: 257.8 kB / 292.3 MB, free: 19.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.1445, allocations: 155.6 kB / 292.4 MB, free: 19.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.1446, allocations: 0.5215 MB / 292.9 MB, free: 19.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1448, allocations: 117.3 kB / 293.1 MB, free: 19.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.1451, allocations: 359.6 kB / 293.4 MB, free: 19.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.1456, allocations: 493.6 kB / 293.9 MB, free: 18.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1456, allocations: 1.094 kB / 293.9 MB, free: 18.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008124/0.1464, allocations: 0.6452 MB / 294.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1464, allocations: 11.44 kB / 294.6 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1464, allocations: 4.062 kB / 294.6 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/0.1469, allocations: 166 kB / 294.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.1472, allocations: 156.9 kB / 294.9 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.1489, allocations: 4.455 MB / 299.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.1492, allocations: 73.39 kB / 299.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.1492, allocations: 31.16 kB / 299.4 MB, free: 14.73 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.0001283/0.1494, allocations: 207.3 kB / 299.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/0.1495, allocations: 66.52 kB / 299.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007102/0.1502, allocations: 0.5453 MB / 300.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1502, allocations: 11.94 kB / 300.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1502, allocations: 2.438 kB / 300.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1502, allocations: 5.406 kB / 300.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.1515, allocations: 1.15 MB / 301.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1515, allocations: 0 / 301.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.1517, allocations: 108.8 kB / 301.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000359/0.1521, allocations: 157.1 kB / 301.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.1521, allocations: 18.72 kB / 301.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.1534, allocations: 3.873 MB / 305.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1534, allocations: 0.7031 kB / 305.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000875/0.1543, allocations: 0.8817 MB / 306.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.1543, allocations: 49.42 kB / 306.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.1543, allocations: 15.75 kB / 306.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1545, allocations: 24.19 kB / 306.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.1546, allocations: 55.94 kB / 306.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.1546, allocations: 20.38 kB / 306.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.1547, allocations: 206.3 kB / 306.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1547, allocations: 1.531 kB / 306.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005647/0.1553, allocations: 220.2 kB / 307 MB, free: 9.938 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.0001967/0.1555, allocations: 154.6 kB / 307.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007954/0.1563, allocations: 0.8054 MB / 308 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1563, allocations: 1.375 kB / 308 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.1567, allocations: 0.588 MB / 308.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.157, allocations: 54.25 kB / 308.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1585, allocations: 0.9983 MB / 309.6 MB, free: 8.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.421e-05/0.1585, allocations: 135.8 kB / 309.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.1587, allocations: 74.61 kB / 309.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.1588, allocations: 49.88 kB / 309.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1588, allocations: 1.344 kB / 309.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of Templates: time 0.008316/0.1671, allocations: 6.262 MB / 316.1 MB, free: 6.168 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 -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: 3.277193646878004]