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.001222/0.001222, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001314/0.001314, allocations: 169.8 kB / 25.61 MB, free: 8.902 MB / 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.007/1.007, allocations: 177.1 MB / 206 MB, free: 4.504 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.332e-06/1.332e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.386e-05, allocations: 9.484 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003982/0.003996, allocations: 4.212 MB / 278.4 MB, free: 208 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.006353, allocations: 1.671 MB / 280.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.006608, allocations: 12 kB / 280.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.007912, allocations: 1.046 MB / 281.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.008387, allocations: 269.9 kB / 281.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.009332, allocations: 0.7161 MB / 282.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.009826, allocations: 0.6607 MB / 282.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/0.01035, allocations: 461.3 kB / 283.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006444/0.011, allocations: 407.1 kB / 283.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.01127, allocations: 287.2 kB / 283.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.369e-05/0.01132, allocations: 56 kB / 284 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.0117, allocations: 279.5 kB / 284.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.4e-05/0.01177, allocations: 143.4 kB / 284.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.01191, allocations: 219.4 kB / 284.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.01253, allocations: 0.7123 MB / 285.3 MB, free: 9.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.01253, allocations: 0 / 285.3 MB, free: 9.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01253, allocations: 0 / 285.3 MB, free: 9.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.01253, allocations: 0 / 285.3 MB, free: 9.281 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.001987/0.01452, allocations: 1.319 MB / 286.6 MB, free: 7.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.01456, allocations: 11.97 kB / 286.6 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008369/0.01539, allocations: 343.9 kB / 287 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.01553, allocations: 187.8 kB / 287.1 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.01557, allocations: 54.38 kB / 287.2 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.01565, allocations: 72.38 kB / 287.3 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/0.01623, allocations: 0.5817 MB / 287.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.01625, allocations: 192 / 287.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.0163, allocations: 32.38 kB / 287.9 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.01631, allocations: 23.94 kB / 287.9 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.01664, allocations: 272.9 kB / 288.2 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.01885, allocations: 2.241 MB / 290.4 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.01999, allocations: 0.6802 MB / 291.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.02019, allocations: 178.9 kB / 291.3 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.499e-05/0.02025, allocations: 36.62 kB / 291.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.02028, allocations: 46.05 kB / 291.3 MB, free: 3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.793e-06/0.02028, allocations: 0 / 291.3 MB, free: 3 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001024/0.0213, allocations: 0.6726 MB / 292 MB, free: 2.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.02135, allocations: 111.5 kB / 292.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.02151, allocations: 308 kB / 292.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.02154, allocations: 37.7 kB / 292.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.02168, allocations: 351 kB / 292.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.02181, allocations: 261.8 kB / 293.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.02196, allocations: 156.2 kB / 293.2 MB, free: 1.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.02209, allocations: 0.5273 MB / 293.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.02221, allocations: 85.92 kB / 293.8 MB, free: 432 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.02243, allocations: 334.8 kB / 294.2 MB, free: 16 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.02281, allocations: 449 kB / 294.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.02281, allocations: 0 / 294.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006249/0.02344, allocations: 0.5863 MB / 295.2 MB, free: 14.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.02345, allocations: 8 kB / 295.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.02346, allocations: 7.938 kB / 295.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/0.02385, allocations: 171.2 kB / 295.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.02417, allocations: 151.8 kB / 295.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.02646, allocations: 4.366 MB / 299.9 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.02668, allocations: 79.45 kB / 300 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.02671, allocations: 27.98 kB / 300 MB, free: 9.867 MB / 282.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.0001477/0.02686, allocations: 200.6 kB / 300.2 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/0.02695, allocations: 71.64 kB / 300.2 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.02754, allocations: 0.497 MB / 300.7 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.02755, allocations: 11.94 kB / 300.8 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.02756, allocations: 8 kB / 300.8 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.02756, allocations: 3.984 kB / 300.8 MB, free: 9.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.02862, allocations: 1.033 MB / 301.8 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.02863, allocations: 3.984 kB / 301.8 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.02887, allocations: 99.89 kB / 301.9 MB, free: 7.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/0.02919, allocations: 155.1 kB / 302.1 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.02922, allocations: 16 kB / 302.1 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.03117, allocations: 3.793 MB / 305.9 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.03117, allocations: 3.984 kB / 305.9 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007286/0.0319, allocations: 0.8105 MB / 306.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.03194, allocations: 59.58 kB / 306.7 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.03198, allocations: 15.95 kB / 306.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.03214, allocations: 23.98 kB / 306.8 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.03223, allocations: 52.55 kB / 306.8 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.03225, allocations: 12 kB / 306.8 MB, free: 2.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.375e-05/0.03235, allocations: 201.1 kB / 307 MB, free: 2.477 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03235, allocations: 0 / 307 MB, free: 2.477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005147/0.03286, allocations: 219.6 kB / 307.3 MB, free: 2.262 MB / 282.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.0001844/0.03305, allocations: 159.1 kB / 307.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006649/0.03371, allocations: 0.7552 MB / 308.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.03371, allocations: 4.125 kB / 308.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.03407, allocations: 0.5704 MB / 308.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.03437, allocations: 44.48 kB / 308.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.03573, allocations: 0.9802 MB / 309.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.03584, allocations: 136.8 kB / 309.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000197/0.03603, allocations: 80.33 kB / 310 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.0362, allocations: 150.1 kB / 310.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03621, allocations: 0 / 310.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.01023/0.04643, allocations: 6.981 MB / 317.1 MB, free: 8.355 MB / 298.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.1622409550473094]