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.0007575/0.0007575, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001892, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006867/0.0006867, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000945/0.001632, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8999/0.8999, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08118/0.9811, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.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.222e-06/1.222e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.067e-06/1.029e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003457/0.003467, allocations: 4.307 MB / 249 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.005646, allocations: 1.743 MB / 250.7 MB, free: 8.156 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.005882, allocations: 12 kB / 250.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.007185, allocations: 1.077 MB / 251.8 MB, free: 7.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.007634, allocations: 266 kB / 252.1 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.008587, allocations: 0.7314 MB / 252.8 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005409/0.009128, allocations: 0.6608 MB / 253.5 MB, free: 5.402 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005084/0.009637, allocations: 459.5 kB / 253.9 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.01004, allocations: 423 kB / 254.3 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.01031, allocations: 283.2 kB / 254.6 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.01037, allocations: 56 kB / 254.7 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.01082, allocations: 295.5 kB / 255 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.01089, allocations: 103.6 kB / 255.1 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.01101, allocations: 179.6 kB / 255.2 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005783/0.01159, allocations: 0.6423 MB / 255.9 MB, free: 2.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.0116, allocations: 3.984 kB / 255.9 MB, free: 2.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.0116, allocations: 3.938 kB / 255.9 MB, free: 2.988 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.01161, allocations: 0 / 255.9 MB, free: 2.988 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.002006/0.01362, allocations: 1.441 MB / 257.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.629e-05/0.01365, allocations: 16.03 kB / 257.4 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009076/0.01455, allocations: 344.2 kB / 257.7 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.01469, allocations: 183.4 kB / 257.9 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.01472, allocations: 58.38 kB / 257.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/0.0148, allocations: 76.33 kB / 258 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.01531, allocations: 0.5733 MB / 258.6 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.01533, allocations: 8.172 kB / 258.6 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.01537, allocations: 28.38 kB / 258.6 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.01538, allocations: 27.92 kB / 258.6 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.01566, allocations: 217 kB / 258.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.01754, allocations: 1.813 MB / 260.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007382/0.01827, allocations: 0.6203 MB / 261.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.01844, allocations: 153.5 kB / 261.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.426e-05/0.0185, allocations: 36.62 kB / 261.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.01853, allocations: 51.14 kB / 261.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.904e-06/0.01853, allocations: 0 / 261.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0007976/0.01933, allocations: 0.5461 MB / 262.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.01936, allocations: 89.8 kB / 262.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.01948, allocations: 252.7 kB / 262.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.01951, allocations: 37.7 kB / 262.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.01962, allocations: 296.4 kB / 262.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.01974, allocations: 261.7 kB / 263 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.01986, allocations: 134.6 kB / 263.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.01993, allocations: 350.7 kB / 263.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.02002, allocations: 77.95 kB / 263.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.02019, allocations: 264 kB / 263.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.02049, allocations: 393.2 kB / 264.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02049, allocations: 4 kB / 264.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004545/0.02095, allocations: 464.9 kB / 264.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.02096, allocations: 14.33 kB / 264.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.02097, allocations: 4 kB / 264.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003409/0.02131, allocations: 157.5 kB / 264.8 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.02163, allocations: 175.8 kB / 265 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.02318, allocations: 3.025 MB / 268 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.02338, allocations: 71.52 kB / 268.1 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.02341, allocations: 27.98 kB / 268.1 MB, free: 6.195 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.0001189/0.02352, allocations: 157.7 kB / 268.2 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.02359, allocations: 51.89 kB / 268.3 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.02403, allocations: 415.3 kB / 268.7 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.02403, allocations: 4 kB / 268.7 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.02404, allocations: 7.938 kB / 268.7 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.02404, allocations: 7.984 kB / 268.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.02485, allocations: 0.7668 MB / 269.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.02485, allocations: 0 / 269.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.02509, allocations: 119.9 kB / 269.6 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.02512, allocations: 43.58 kB / 269.6 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/0.02539, allocations: 137.6 kB / 269.8 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.02542, allocations: 19.98 kB / 269.8 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.02655, allocations: 2.636 MB / 272.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.02655, allocations: 3.938 kB / 272.4 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.02704, allocations: 0.6253 MB / 273.1 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.02707, allocations: 12 kB / 273.1 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.02722, allocations: 31.92 kB / 273.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.02729, allocations: 44.56 kB / 273.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.02731, allocations: 19.98 kB / 273.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.476e-05/0.02736, allocations: 78.77 kB / 273.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02736, allocations: 0 / 273.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.02777, allocations: 223.6 kB / 273.5 MB, free: 0.5625 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.0001667/0.02794, allocations: 140.2 kB / 273.6 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.02845, allocations: 0.6143 MB / 274.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/0.02846, allocations: 11.98 kB / 274.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.02876, allocations: 488 kB / 274.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.02906, allocations: 196.9 kB / 274.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.03368, allocations: 1.014 MB / 275.9 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.216e-05/0.03376, allocations: 140.8 kB / 276.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.03395, allocations: 80.38 kB / 276.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.03411, allocations: 131.3 kB / 276.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of SimCode: time 9.41e-07/0.03411, allocations: 0 / 276.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of Templates: time 0.008595/0.04271, allocations: 7.133 MB / 283.4 MB, free: 6.562 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.725617930293083]