Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001388/0.001388, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0009229/0.0009229, allocations: 168.6 kB / 25.7 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.838/0.838, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.345e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003605/0.003618, allocations: 4.17 MB / 255.7 MB, free: 3.059 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.005876, allocations: 1.694 MB / 257.4 MB, free: 1.352 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.006059, allocations: 16 kB / 257.4 MB, free: 1.336 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.007268, allocations: 1.085 MB / 258.5 MB, free: 252 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.007693, allocations: 258.1 kB / 258.8 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.008558, allocations: 0.7238 MB / 259.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.009037, allocations: 0.6685 MB / 260.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004992/0.009536, allocations: 495.3 kB / 260.6 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.009892, allocations: 414.9 kB / 261 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.01027, allocations: 283.2 kB / 261.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.589e-05/0.01033, allocations: 56 kB / 261.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.0107, allocations: 255.6 kB / 261.6 MB, free: 13.11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.691e-05/0.01078, allocations: 147.4 kB / 261.8 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.01092, allocations: 219.4 kB / 262 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005971/0.01152, allocations: 0.6928 MB / 262.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.01152, allocations: 0 / 262.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01152, allocations: 0 / 262.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.01152, allocations: 4 kB / 262.7 MB, free: 12.05 MB / 250.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.0018/0.01332, allocations: 1.221 MB / 263.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.01336, allocations: 15.98 kB / 263.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008135/0.01417, allocations: 360.3 kB / 264.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.01429, allocations: 184.9 kB / 264.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.01433, allocations: 54.38 kB / 264.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.01441, allocations: 80.33 kB / 264.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.01493, allocations: 0.5695 MB / 265.1 MB, free: 9.504 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.01495, allocations: 8.156 kB / 265.1 MB, free: 9.496 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.01498, allocations: 32.38 kB / 265.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.01499, allocations: 19.94 kB / 265.2 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.01528, allocations: 228.9 kB / 265.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.01715, allocations: 1.778 MB / 267.2 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.01786, allocations: 0.608 MB / 267.8 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.01803, allocations: 155.5 kB / 268 MB, free: 6.574 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.0181, allocations: 28.64 kB / 268 MB, free: 6.547 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.01812, allocations: 39.22 kB / 268 MB, free: 6.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 1.894e-06/0.01812, allocations: 0 / 268 MB, free: 6.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008007/0.01892, allocations: 0.5539 MB / 268.6 MB, free: 5.934 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.01896, allocations: 115.5 kB / 268.7 MB, free: 5.797 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.0191, allocations: 244.8 kB / 268.9 MB, free: 5.543 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.01913, allocations: 37.7 kB / 269 MB, free: 5.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01924, allocations: 292.4 kB / 269.3 MB, free: 5.207 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.01935, allocations: 261.7 kB / 269.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.01947, allocations: 134.6 kB / 269.6 MB, free: 4.812 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.01956, allocations: 354.7 kB / 270 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.251e-05/0.01965, allocations: 73.95 kB / 270.1 MB, free: 4.387 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.01983, allocations: 275.8 kB / 270.3 MB, free: 4.055 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.02013, allocations: 376.8 kB / 270.7 MB, free: 3.637 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.02013, allocations: 4 kB / 270.7 MB, free: 3.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004693/0.0206, allocations: 468.8 kB / 271.2 MB, free: 3.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.02061, allocations: 4 kB / 271.2 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.02062, allocations: 11.88 kB / 271.2 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003477/0.02097, allocations: 153.8 kB / 271.3 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.02126, allocations: 143.8 kB / 271.5 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.02277, allocations: 3.013 MB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.02297, allocations: 79.44 kB / 274.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.02299, allocations: 32.05 kB / 274.6 MB, free: 15.56 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.0001205/0.02312, allocations: 149.7 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.02318, allocations: 55.91 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/0.02362, allocations: 419.4 kB / 275.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.02363, allocations: 15.97 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.02363, allocations: 7.938 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.02364, allocations: 0 / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008471/0.02449, allocations: 0.7668 MB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02449, allocations: 0 / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.0247, allocations: 103.9 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002844/0.02499, allocations: 141.9 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.02501, allocations: 15.98 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.02621, allocations: 2.635 MB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02621, allocations: 0 / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.02675, allocations: 0.6253 MB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.02678, allocations: 39.64 kB / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.02681, allocations: 15.95 kB / 279.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.02696, allocations: 31.98 kB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.02704, allocations: 52.55 kB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.02706, allocations: 16 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.429e-05/0.02712, allocations: 82.77 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02712, allocations: 0 / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004568/0.02758, allocations: 215.6 kB / 279.9 MB, free: 9.934 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.000158/0.02774, allocations: 128.2 kB / 280.1 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.02828, allocations: 0.6078 MB / 280.7 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.02829, allocations: 5 kB / 280.7 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.02858, allocations: 450.9 kB / 281.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.02881, allocations: 44.48 kB / 281.2 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.03004, allocations: 0.9988 MB / 282.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.907e-05/0.03013, allocations: 144.6 kB / 282.3 MB, free: 7.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.03032, allocations: 80.31 kB / 282.4 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.03048, allocations: 107.4 kB / 282.5 MB, free: 7.266 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.03048, allocations: 0 / 282.5 MB, free: 7.266 MB / 266.7 MB Notification: Performance of Templates: time 0.01558/0.04605, allocations: 6.591 MB / 289.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.715505935251713]