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.001194/0.001194, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.00131/0.00131, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.366/1.366, 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.001142/0.001142, allocations: 47.92 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08838/0.08954, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001643/0.09122, allocations: 0.5325 MB / 329.2 MB, free: 3.211 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.09297, allocations: 1.51 MB / 330.8 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.09302, allocations: 0 / 330.8 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.09305, allocations: 3.938 kB / 330.8 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.09362, allocations: 175.4 kB / 330.9 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.831e-05/0.09365, allocations: 0 / 330.9 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.997e-05/0.09371, allocations: 19.92 kB / 330.9 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.09375, allocations: 4 kB / 331 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.09379, allocations: 7.938 kB / 331 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.09385, allocations: 15.92 kB / 331 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.09387, allocations: 0 / 331 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.09421, allocations: 243.7 kB / 331.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.09423, allocations: 0 / 331.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.09427, allocations: 15.92 kB / 331.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.09451, allocations: 159.8 kB / 331.4 MB, free: 1.051 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.09452, allocations: 0 / 331.4 MB, free: 1.051 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09453, allocations: 0 / 331.4 MB, free: 1.051 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.09454, allocations: 4 kB / 331.4 MB, free: 1.047 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.0004409/0.09499, allocations: 371.3 kB / 331.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.09503, allocations: 8.031 kB / 331.8 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.09506, allocations: 0.9375 kB / 331.8 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.09521, allocations: 164.4 kB / 331.9 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.09523, allocations: 8.344 kB / 331.9 MB, free: 432 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.09526, allocations: 4.375 kB / 331.9 MB, free: 428 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.904e-05/0.09534, allocations: 37.95 kB / 332 MB, free: 384 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.09536, allocations: 11.91 kB / 332 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.09538, allocations: 0 / 332 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.09538, allocations: 0 / 332 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.261e-05/0.09542, allocations: 11.98 kB / 332 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.09559, allocations: 157.7 kB / 332.1 MB, free: 152 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.09565, allocations: 30.58 kB / 332.2 MB, free: 112 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.09568, allocations: 12.94 kB / 332.2 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.0957, allocations: 3.938 kB / 332.2 MB, free: 92 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.09573, allocations: 42.44 kB / 332.2 MB, free: 40 kB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.09574, allocations: 0 / 332.2 MB, free: 40 kB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001412/0.09588, allocations: 49.69 kB / 332.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.09592, allocations: 55.41 kB / 332.3 MB, free: 15.92 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.31e-05/0.09602, allocations: 97.84 kB / 332.4 MB, free: 15.81 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.09604, allocations: 25.7 kB / 332.5 MB, free: 15.78 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.09608, allocations: 88.14 kB / 332.5 MB, free: 15.69 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.09611, allocations: 11.75 kB / 332.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.09615, allocations: 21.72 kB / 332.6 MB, free: 15.65 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.09626, allocations: 314.8 kB / 332.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.09628, allocations: 8 kB / 332.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.09631, allocations: 25.66 kB / 332.9 MB, free: 15.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/0.09636, allocations: 21.72 kB / 332.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.09636, allocations: 0 / 332.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.14e-05/0.09645, allocations: 61.62 kB / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.09647, allocations: 11.94 kB / 333 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.09648, allocations: 432 / 333 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.0965, allocations: 3.984 kB / 333 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.09658, allocations: 11.94 kB / 333 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.09659, allocations: 0 / 333 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.09662, allocations: 0 / 333 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.09663, allocations: 4 kB / 333 MB, free: 15.17 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 7.202e-05/0.0967, allocations: 105.8 kB / 333.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.09672, allocations: 11.97 kB / 333.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.09676, allocations: 11.48 kB / 333.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.09676, allocations: 0 / 333.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.09677, allocations: 0 / 333.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.09678, allocations: 3.984 kB / 333.2 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.0969, allocations: 165.5 kB / 333.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.09691, allocations: 0 / 333.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.09697, allocations: 4 kB / 333.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.09698, allocations: 3.938 kB / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.09699, allocations: 0 / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.097, allocations: 8 kB / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.09701, allocations: 0 / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.09713, allocations: 73.12 kB / 333.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.09718, allocations: 85.03 kB / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.0972, allocations: 4.125 kB / 333.5 MB, free: 14.6 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.715e-05/0.09722, allocations: 0 / 333.5 MB, free: 14.6 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.09724, allocations: 4.031 kB / 333.5 MB, free: 14.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.09725, allocations: 0 / 333.5 MB, free: 14.6 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.283e-05/0.0973, allocations: 87.34 kB / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.09731, allocations: 3.938 kB / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.09755, allocations: 55.92 kB / 333.6 MB, free: 14.45 MB / 286.1 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.0002454/0.09781, allocations: 147.2 kB / 333.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.658e-05/0.0979, allocations: 19.98 kB / 333.8 MB, free: 14.28 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.09791, allocations: 0 / 333.8 MB, free: 14.28 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.09793, allocations: 12 kB / 333.8 MB, free: 14.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.09808, allocations: 7.984 kB / 333.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.09835, allocations: 134.3 kB / 334 MB, free: 14.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.09875, allocations: 0.6807 MB / 334.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.364e-05/0.09882, allocations: 3.938 kB / 334.6 MB, free: 13.39 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.09884, allocations: 11.44 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09885, allocations: 0 / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of Templates: time 0.003253/0.1021, allocations: 1.067 MB / 335.7 MB, free: 12.32 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 -s gbode -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