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.001657/0.001657, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001541/0.001541, allocations: 169.3 kB / 24.27 MB, free: 144 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.458/1.458, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.064e-06/2.064e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.13e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.01114/0.01117, allocations: 3.937 MB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005864/0.01704, allocations: 1.623 MB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004493/0.01749, allocations: 12 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004446/0.02193, allocations: 0.9952 MB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.02323, allocations: 269.9 kB / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.02628, allocations: 0.7278 MB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.02757, allocations: 0.6646 MB / 280.5 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.02878, allocations: 461.3 kB / 281 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009541/0.02973, allocations: 407.1 kB / 281.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007495/0.03048, allocations: 271.2 kB / 281.7 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.03063, allocations: 56 kB / 281.7 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.03169, allocations: 279.5 kB / 282 MB, free: 8.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.03191, allocations: 147.4 kB / 282.1 MB, free: 7.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.03236, allocations: 215.4 kB / 282.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.03455, allocations: 1.008 MB / 283.4 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.03455, allocations: 0 / 283.4 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.03455, allocations: 0 / 283.4 MB, free: 6.727 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.03456, allocations: 4 kB / 283.4 MB, free: 6.723 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.006942/0.0415, allocations: 1.203 MB / 284.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.04155, allocations: 16.02 kB / 284.6 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/0.04463, allocations: 328 kB / 284.9 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.04499, allocations: 192.9 kB / 285.1 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.04511, allocations: 54.38 kB / 285.1 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.04534, allocations: 76.38 kB / 285.2 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/0.04792, allocations: 0.7955 MB / 286 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.04795, allocations: 192 / 286 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.04808, allocations: 32.38 kB / 286 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.0481, allocations: 19.94 kB / 286.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.04969, allocations: 0.6649 MB / 286.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00453/0.05422, allocations: 2.235 MB / 289 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.05632, allocations: 0.8208 MB / 289.8 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1026/0.1589, allocations: 285.2 kB / 290.1 MB, free: 28.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.159, allocations: 33.03 kB / 290.1 MB, free: 28.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1591, allocations: 41.06 kB / 290.1 MB, free: 28.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/0.1591, allocations: 0.7188 kB / 290.1 MB, free: 28.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002601/0.1617, allocations: 1.011 MB / 291.1 MB, free: 28.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1617, allocations: 112.9 kB / 291.3 MB, free: 27.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.162, allocations: 261.1 kB / 291.5 MB, free: 27.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.162, allocations: 39.67 kB / 291.5 MB, free: 27.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1621, allocations: 304.3 kB / 291.8 MB, free: 27.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.1623, allocations: 259.2 kB / 292.1 MB, free: 27.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.1625, allocations: 140.6 kB / 292.2 MB, free: 27.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.1625, allocations: 347.2 kB / 292.6 MB, free: 27.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.163, allocations: 233.6 kB / 292.8 MB, free: 27.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/0.1636, allocations: 408.1 kB / 293.2 MB, free: 26.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.1646, allocations: 0.6393 MB / 293.8 MB, free: 26.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1646, allocations: 1.375 kB / 293.8 MB, free: 26.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001608/0.1662, allocations: 0.8598 MB / 294.7 MB, free: 26.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1662, allocations: 11.19 kB / 294.7 MB, free: 26.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1662, allocations: 3.125 kB / 294.7 MB, free: 26.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008144/0.167, allocations: 176.9 kB / 294.9 MB, free: 25.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.1677, allocations: 162.8 kB / 295 MB, free: 25.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.1701, allocations: 3.525 MB / 298.6 MB, free: 22.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/0.1706, allocations: 87.58 kB / 298.7 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.1707, allocations: 36.12 kB / 298.7 MB, free: 22.8 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.0002193/0.1709, allocations: 195.3 kB / 298.9 MB, free: 22.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.171, allocations: 64.77 kB / 298.9 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.1725, allocations: 0.7369 MB / 299.7 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.1725, allocations: 15.72 kB / 299.7 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1725, allocations: 2.391 kB / 299.7 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.1725, allocations: 5.922 kB / 299.7 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.1747, allocations: 1.291 MB / 301 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.1747, allocations: 5.219 kB / 301 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.1752, allocations: 114.4 kB / 301.1 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000704/0.1759, allocations: 158.3 kB / 301.3 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/0.176, allocations: 18.09 kB / 301.3 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.1779, allocations: 3.075 MB / 304.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1779, allocations: 14.78 kB / 304.4 MB, free: 18.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.1797, allocations: 1.142 MB / 305.5 MB, free: 18.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.1798, allocations: 55.31 kB / 305.6 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.1799, allocations: 11.69 kB / 305.6 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.1803, allocations: 27.47 kB / 305.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.1804, allocations: 58.95 kB / 305.7 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.1804, allocations: 22.95 kB / 305.7 MB, free: 18.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1806, allocations: 178.6 kB / 305.9 MB, free: 17.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1806, allocations: 0 / 305.9 MB, free: 17.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008461/0.1814, allocations: 223.4 kB / 306.1 MB, free: 17.93 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.0002824/0.1817, allocations: 151.7 kB / 306.2 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.1832, allocations: 0.8516 MB / 307.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1832, allocations: 1.312 kB / 307.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006923/0.1839, allocations: 0.5251 MB / 307.6 MB, free: 17.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.1843, allocations: 53.05 kB / 307.7 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1862, allocations: 1.069 MB / 308.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1865, allocations: 263.8 kB / 309 MB, free: 16.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.1868, allocations: 82.72 kB / 309.1 MB, free: 16.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1869, allocations: 50.45 kB / 309.1 MB, free: 16.26 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1869, allocations: 3.828 kB / 309.1 MB, free: 16.26 MB / 266.7 MB Notification: Performance of Templates: time 0.01032/0.1972, allocations: 6.206 MB / 315.3 MB, free: 11.16 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.587092567002401]