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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 109.3 kB / 18.37 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 191 kB / 19.3 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 55.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06941/0.07056, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001592/0.07218, allocations: 0.5286 MB / 329.3 MB, free: 3.223 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.0738, allocations: 1.514 MB / 330.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.07383, allocations: 0 / 330.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.07386, allocations: 0 / 330.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000536/0.0744, allocations: 175.4 kB / 331 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.869e-05/0.07443, allocations: 0 / 331 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.895e-05/0.07448, allocations: 19.92 kB / 331 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.07453, allocations: 0 / 331 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.323e-05/0.07456, allocations: 8 kB / 331 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.07462, allocations: 11.92 kB / 331 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.07463, allocations: 0 / 331 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.07499, allocations: 243.7 kB / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.07501, allocations: 3.984 kB / 331.2 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.07504, allocations: 11.92 kB / 331.2 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.07528, allocations: 167.7 kB / 331.4 MB, free: 1.062 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.07529, allocations: 0 / 331.4 MB, free: 1.062 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0753, allocations: 4 kB / 331.4 MB, free: 1.059 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.07531, allocations: 4 kB / 331.4 MB, free: 1.055 MB / 270.1 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.0003797/0.07569, allocations: 363.4 kB / 331.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.07573, allocations: 8.031 kB / 331.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.07576, allocations: 0.9375 kB / 331.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.07589, allocations: 168.3 kB / 331.9 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.07591, allocations: 4.359 kB / 332 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.07593, allocations: 4.359 kB / 332 MB, free: 444 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.104e-05/0.07601, allocations: 46.02 kB / 332 MB, free: 392 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.07603, allocations: 3.906 kB / 332 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.07604, allocations: 0 / 332 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.07605, allocations: 0 / 332 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.054e-05/0.07608, allocations: 7.984 kB / 332 MB, free: 380 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.07623, allocations: 157.7 kB / 332.2 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.043e-05/0.0763, allocations: 34.52 kB / 332.2 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.07633, allocations: 16.94 kB / 332.2 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.07635, allocations: 4 kB / 332.2 MB, free: 104 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.07637, allocations: 34.5 kB / 332.3 MB, free: 60 kB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.07638, allocations: 4 kB / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001174/0.0765, allocations: 45.69 kB / 332.3 MB, free: 4 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.07655, allocations: 55.34 kB / 332.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.07663, allocations: 101.8 kB / 332.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.07665, allocations: 29.64 kB / 332.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.07669, allocations: 84.14 kB / 332.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.07672, allocations: 19.75 kB / 332.6 MB, free: 15.69 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.07676, allocations: 17.72 kB / 332.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.07686, allocations: 314.8 kB / 332.9 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.07688, allocations: 4 kB / 332.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.07691, allocations: 21.72 kB / 332.9 MB, free: 15.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/0.07696, allocations: 25.72 kB / 333 MB, free: 15.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.07697, allocations: 4 kB / 333 MB, free: 15.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.026e-05/0.07706, allocations: 53.62 kB / 333 MB, free: 15.22 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.07708, allocations: 11.94 kB / 333 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.07709, allocations: 0.5469 kB / 333 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.0771, allocations: 0 / 333 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.07717, allocations: 15.98 kB / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.07719, allocations: 0 / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.07721, allocations: 0 / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.07722, allocations: 4 kB / 333.1 MB, free: 15.19 MB / 286.1 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.774e-05/0.07728, allocations: 117.8 kB / 333.2 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.0773, allocations: 7.938 kB / 333.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.07734, allocations: 7.484 kB / 333.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.07735, allocations: 0 / 333.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.07735, allocations: 0 / 333.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.07739, allocations: 85 kB / 333.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.07741, allocations: 8 kB / 333.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.873e-05/0.07743, allocations: 0 / 333.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.07745, allocations: 0 / 333.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001408/0.07759, allocations: 125 kB / 333.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001565/0.07776, allocations: 230.7 kB / 333.6 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.009e-05/0.07779, allocations: 4.031 kB / 333.6 MB, free: 14.56 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.453e-05/0.07784, allocations: 91.27 kB / 333.7 MB, free: 14.47 MB / 286.1 MB Notification: Performance of Backend: time 2.81e-07/0.07785, allocations: 0 / 333.7 MB, free: 14.47 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00044/0.07829, allocations: 146.4 kB / 333.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of SimCode: time 0.0003627/0.07867, allocations: 0.5774 MB / 334.4 MB, free: 13.7 MB / 286.1 MB Notification: Performance of Templates: time 0.003041/0.08172, allocations: 1.128 MB / 335.6 MB, free: 12.57 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches