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.001012/0.001012, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002448, allocations: 449.7 kB / 10.37 MB, free: 328 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.001052/0.001052, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002344, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.8997/0.8997, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07876/0.9785, allocations: 53.66 MB / 243.3 MB, free: 15.57 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 2.014e-06/2.014e-06, allocations: 3.984 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.495e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003456/0.003471, allocations: 4.3 MB / 248.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.005458, allocations: 1.739 MB / 250.6 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.005632, allocations: 12 kB / 250.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.006702, allocations: 1.081 MB / 251.6 MB, free: 7.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.007076, allocations: 265.9 kB / 251.9 MB, free: 6.898 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.007947, allocations: 0.7314 MB / 252.6 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.008408, allocations: 0.6608 MB / 253.3 MB, free: 5.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005207/0.008929, allocations: 463.5 kB / 253.7 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003624/0.009292, allocations: 423 kB / 254.2 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.009546, allocations: 283.2 kB / 254.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.0096, allocations: 56 kB / 254.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.01006, allocations: 291.5 kB / 254.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.01012, allocations: 99.62 kB / 254.9 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.01024, allocations: 183.6 kB / 255.1 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.01081, allocations: 0.6539 MB / 255.7 MB, free: 3.082 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.01083, allocations: 0 / 255.7 MB, free: 3.082 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01083, allocations: 0 / 255.7 MB, free: 3.082 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.01084, allocations: 0 / 255.7 MB, free: 3.082 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.002002/0.01284, allocations: 1.441 MB / 257.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.01287, allocations: 12.03 kB / 257.2 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007755/0.01365, allocations: 352.2 kB / 257.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.01379, allocations: 188.2 kB / 257.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.01382, allocations: 58.38 kB / 257.7 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.0139, allocations: 76.33 kB / 257.8 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.0144, allocations: 0.5695 MB / 258.4 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.01442, allocations: 12.11 kB / 258.4 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.01446, allocations: 28.38 kB / 258.4 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.01447, allocations: 23.94 kB / 258.5 MB, free: 248 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.01483, allocations: 217 kB / 258.7 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.01718, allocations: 1.809 MB / 260.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.01793, allocations: 0.6243 MB / 261.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.01809, allocations: 157.5 kB / 261.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.353e-05/0.01817, allocations: 44.56 kB / 261.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.01819, allocations: 39.22 kB / 261.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.084e-06/0.01819, allocations: 4 kB / 261.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.000794/0.01899, allocations: 0.5423 MB / 261.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.01902, allocations: 93.69 kB / 262 MB, free: 12.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.01915, allocations: 248.7 kB / 262.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.01917, allocations: 37.7 kB / 262.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.01928, allocations: 292.4 kB / 262.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.0194, allocations: 261.7 kB / 262.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.01952, allocations: 134.6 kB / 262.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.01961, allocations: 350.7 kB / 263.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.01969, allocations: 77.95 kB / 263.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.01986, allocations: 264 kB / 263.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.02018, allocations: 376.8 kB / 264 MB, free: 10.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.02018, allocations: 0 / 264 MB, free: 10.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004579/0.02064, allocations: 472.7 kB / 264.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.02066, allocations: 4 kB / 264.4 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.02067, allocations: 4 kB / 264.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.02102, allocations: 161.8 kB / 264.6 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.02134, allocations: 171.7 kB / 264.8 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.02312, allocations: 3.025 MB / 267.8 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.02332, allocations: 83.56 kB / 267.9 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.02335, allocations: 23.92 kB / 267.9 MB, free: 6.301 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.0001093/0.02346, allocations: 157.6 kB / 268 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.02352, allocations: 47.91 kB / 268.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.02396, allocations: 415.4 kB / 268.5 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.02396, allocations: 8 kB / 268.5 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.02397, allocations: 7.938 kB / 268.5 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.02397, allocations: 3.984 kB / 268.5 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008138/0.02479, allocations: 0.7668 MB / 269.3 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02479, allocations: 0 / 269.3 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.02502, allocations: 131.8 kB / 269.4 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.02505, allocations: 43.58 kB / 269.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002647/0.02532, allocations: 129.6 kB / 269.6 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.02534, allocations: 16 kB / 269.6 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.02645, allocations: 2.628 MB / 272.2 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.02645, allocations: 8.047 kB / 272.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.02693, allocations: 0.6097 MB / 272.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.02696, allocations: 16 kB / 272.9 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.0271, allocations: 31.91 kB / 272.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.02717, allocations: 56.48 kB / 272.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.02718, allocations: 12 kB / 273 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.444e-05/0.02725, allocations: 82.77 kB / 273 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02725, allocations: 4.031 kB / 273 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004343/0.02768, allocations: 219.6 kB / 273.3 MB, free: 0.6758 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.0001826/0.02787, allocations: 136.3 kB / 273.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000524/0.02839, allocations: 0.6205 MB / 274 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.0284, allocations: 4 kB / 274 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.02889, allocations: 443.7 kB / 274.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.02914, allocations: 84.48 kB / 274.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.03383, allocations: 1.022 MB / 275.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.22e-05/0.03392, allocations: 136.8 kB / 275.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.03409, allocations: 84.31 kB / 275.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.03424, allocations: 111.4 kB / 275.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03424, allocations: 0 / 275.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of Templates: time 0.009774/0.04401, allocations: 6.833 MB / 282.7 MB, free: 7.156 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.707108709961176]