Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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.00104/0.00104, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002368, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007439/0.0007439, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009721/0.001716, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.142/1.142, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2064/1.348, allocations: 49.49 MB / 220.7 MB, free: 1.363 MB / 218.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.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.807e-05, allocations: 6.25 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001349/0.001377, allocations: 0.5914 MB / 222.6 MB, free: 15.46 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.002803, allocations: 1.493 MB / 224.1 MB, free: 13.95 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.002828, allocations: 0 / 224.1 MB, free: 13.95 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.027e-06/0.002832, allocations: 0 / 224.1 MB, free: 13.95 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.003183, allocations: 155.3 kB / 224.2 MB, free: 13.8 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.377e-05/0.003197, allocations: 3.984 kB / 224.2 MB, free: 13.79 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 4.894e-05/0.003246, allocations: 15.94 kB / 224.3 MB, free: 13.78 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.003289, allocations: 7.969 kB / 224.3 MB, free: 13.77 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.003364, allocations: 11.98 kB / 224.3 MB, free: 13.76 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.003412, allocations: 7.938 kB / 224.3 MB, free: 13.75 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.003424, allocations: 0 / 224.3 MB, free: 13.75 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.003751, allocations: 259.6 kB / 224.5 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.003763, allocations: 4 kB / 224.5 MB, free: 13.49 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.397e-05/0.003777, allocations: 4 kB / 224.5 MB, free: 13.49 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.003995, allocations: 171.6 kB / 224.7 MB, free: 13.32 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.004008, allocations: 0 / 224.7 MB, free: 13.32 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004009, allocations: 0 / 224.7 MB, free: 13.32 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.00402, allocations: 0 / 224.7 MB, free: 13.32 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003724/0.004392, allocations: 276.3 kB / 225 MB, free: 13.03 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.004425, allocations: 12.03 kB / 225 MB, free: 13.02 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.004453, allocations: 0.9375 kB / 225 MB, free: 13.02 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.787e-05/0.004551, allocations: 113.7 kB / 225.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.004562, allocations: 4.375 kB / 225.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.004585, allocations: 4.375 kB / 225.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.627e-05/0.004651, allocations: 34.25 kB / 225.1 MB, free: 12.83 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004659, allocations: 4.188 kB / 225.1 MB, free: 12.83 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.004664, allocations: 384 / 225.1 MB, free: 12.83 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.00467, allocations: 3.938 kB / 225.2 MB, free: 12.82 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.004692, allocations: 11.92 kB / 225.2 MB, free: 12.81 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.743e-05/0.004779, allocations: 57.05 kB / 225.2 MB, free: 12.74 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.004826, allocations: 26.61 kB / 225.2 MB, free: 12.71 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.004841, allocations: 12.86 kB / 225.3 MB, free: 12.69 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-06/0.004846, allocations: 4 kB / 225.3 MB, free: 12.69 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.00487, allocations: 34.56 kB / 225.3 MB, free: 12.64 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 5.21e-07/0.004871, allocations: 0 / 225.3 MB, free: 12.64 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 8.571e-05/0.004956, allocations: 41.72 kB / 225.3 MB, free: 12.6 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.004983, allocations: 51.41 kB / 225.4 MB, free: 12.54 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.005044, allocations: 106.7 kB / 225.5 MB, free: 12.42 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.005056, allocations: 25.7 kB / 225.5 MB, free: 12.39 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.005085, allocations: 88.06 kB / 225.6 MB, free: 12.3 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.005123, allocations: 15.91 kB / 225.6 MB, free: 12.28 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.005157, allocations: 17.7 kB / 225.6 MB, free: 12.26 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.005271, allocations: 318.8 kB / 225.9 MB, free: 11.94 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.005283, allocations: 8 kB / 226 MB, free: 11.93 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.005304, allocations: 21.72 kB / 226 MB, free: 11.9 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.00534, allocations: 34 kB / 226 MB, free: 11.86 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005342, allocations: 0 / 226 MB, free: 11.86 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.015e-05/0.005392, allocations: 49.67 kB / 226.1 MB, free: 11.81 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.005403, allocations: 4 kB / 226.1 MB, free: 11.8 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.005407, allocations: 0 / 226.1 MB, free: 11.8 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.00542, allocations: 3.938 kB / 226.1 MB, free: 11.8 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.005517, allocations: 12 kB / 226.1 MB, free: 11.79 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.005522, allocations: 4.031 kB / 226.1 MB, free: 11.79 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.005539, allocations: 3.938 kB / 226.1 MB, free: 11.78 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.005542, allocations: 0 / 226.1 MB, free: 11.78 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.005602, allocations: 117.8 kB / 226.2 MB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-06/0.005606, allocations: 0 / 226.2 MB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.005636, allocations: 7.688 kB / 226.2 MB, free: 11.65 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.005637, allocations: 0 / 226.2 MB, free: 11.65 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.00564, allocations: 0 / 226.2 MB, free: 11.65 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.005644, allocations: 0 / 226.2 MB, free: 11.65 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.489e-05/0.005709, allocations: 69.83 kB / 226.3 MB, free: 11.56 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005709, allocations: 4 kB / 226.3 MB, free: 11.56 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.005755, allocations: 8 kB / 226.3 MB, free: 11.55 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.005766, allocations: 11.89 kB / 226.3 MB, free: 11.54 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.005768, allocations: 0 / 226.3 MB, free: 11.54 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.005778, allocations: 4 kB / 226.3 MB, free: 11.54 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005779, allocations: 0 / 226.3 MB, free: 11.54 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00578, allocations: 0 / 226.3 MB, free: 11.54 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.018e-05/0.00587, allocations: 76.98 kB / 226.4 MB, free: 11.44 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.005878, allocations: 0 / 226.4 MB, free: 11.44 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-06/0.005885, allocations: 0 / 226.4 MB, free: 11.44 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.005897, allocations: 4 kB / 226.4 MB, free: 11.44 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-06/0.005899, allocations: 4.031 kB / 226.4 MB, free: 11.43 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.609e-05/0.005915, allocations: 20.83 kB / 226.4 MB, free: 11.41 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005915, allocations: 3.938 kB / 226.4 MB, free: 11.41 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.006071, allocations: 47.88 kB / 226.5 MB, free: 11.36 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001952/0.006266, allocations: 140.2 kB / 226.6 MB, free: 11.21 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.605e-05/0.006342, allocations: 28.91 kB / 226.6 MB, free: 11.18 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.006346, allocations: 0 / 226.6 MB, free: 11.18 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-05/0.006359, allocations: 12.86 kB / 226.6 MB, free: 11.17 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.302e-05/0.006432, allocations: 8.031 kB / 226.6 MB, free: 11.16 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.006627, allocations: 123 kB / 226.8 MB, free: 11.02 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.984e-05/0.006657, allocations: 55.36 kB / 226.8 MB, free: 10.94 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.445e-05/0.006701, allocations: 11.98 kB / 226.8 MB, free: 10.93 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.006735, allocations: 51.38 kB / 226.9 MB, free: 10.88 MB / 234.7 MB Notification: Performance of SimCode: time 3.5e-07/0.006735, allocations: 0 / 226.9 MB, free: 10.88 MB / 234.7 MB Notification: Performance of Templates: time 0.002643/0.009378, allocations: 1.263 MB / 228.1 MB, free: 9.613 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.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.998008681461215]