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.001098/0.001098, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001017/0.001017, allocations: 187.9 kB / 18.5 MB, free: 4.508 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.432/1.432, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001289/0.001289, allocations: 55.92 kB / 280.6 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1041, allocations: 46.63 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002118/0.1063, allocations: 0.5331 MB / 327.8 MB, free: 3.934 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1083, allocations: 1.502 MB / 329.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.1084, allocations: 0 / 329.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.1084, allocations: 3.938 kB / 329.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007093/0.1092, allocations: 179.4 kB / 329.5 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.723e-05/0.1092, allocations: 0 / 329.5 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.047e-05/0.1093, allocations: 23.86 kB / 329.5 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.497e-05/0.1093, allocations: 0 / 329.5 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.1094, allocations: 4 kB / 329.5 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.1095, allocations: 15.92 kB / 329.5 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1095, allocations: 0 / 329.5 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.1099, allocations: 243.7 kB / 329.8 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.1099, allocations: 4 kB / 329.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.1099, allocations: 11.94 kB / 329.8 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.1102, allocations: 163.8 kB / 329.9 MB, free: 1.777 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1102, allocations: 0 / 329.9 MB, free: 1.777 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1102, allocations: 3.938 kB / 330 MB, free: 1.773 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1102, allocations: 0 / 330 MB, free: 1.773 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.0004586/0.1107, allocations: 363.7 kB / 330.3 MB, free: 1.371 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1107, allocations: 8.031 kB / 330.3 MB, free: 1.363 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.1108, allocations: 0.9375 kB / 330.3 MB, free: 1.363 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1109, allocations: 172.4 kB / 330.5 MB, free: 1.156 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.111, allocations: 4.375 kB / 330.5 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.111, allocations: 4.312 kB / 330.5 MB, free: 1.148 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.577e-05/0.1111, allocations: 42 kB / 330.5 MB, free: 1.102 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1111, allocations: 3.906 kB / 330.5 MB, free: 1.098 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1111, allocations: 0 / 330.5 MB, free: 1.098 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1111, allocations: 0 / 330.5 MB, free: 1.098 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.1112, allocations: 11.98 kB / 330.5 MB, free: 1.086 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.1114, allocations: 157.7 kB / 330.7 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.886e-05/0.1114, allocations: 38.52 kB / 330.7 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.1115, allocations: 12.94 kB / 330.8 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.1115, allocations: 0 / 330.8 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1115, allocations: 34.5 kB / 330.8 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1115, allocations: 4 kB / 330.8 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001429/0.1117, allocations: 49.69 kB / 330.8 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1117, allocations: 55.41 kB / 330.9 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.1118, allocations: 93.86 kB / 331 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1118, allocations: 25.7 kB / 331 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.1119, allocations: 96.06 kB / 331.1 MB, free: 432 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.1119, allocations: 11.75 kB / 331.1 MB, free: 420 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.112, allocations: 17.72 kB / 331.1 MB, free: 396 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1121, allocations: 310.8 kB / 331.4 MB, free: 76 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.1121, allocations: 11.98 kB / 331.4 MB, free: 64 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.1121, allocations: 25.72 kB / 331.5 MB, free: 32 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.1122, allocations: 21.72 kB / 331.5 MB, free: 4 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1122, allocations: 0 / 331.5 MB, free: 4 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001043/0.1123, allocations: 58.12 kB / 331.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1123, allocations: 11.94 kB / 331.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1123, allocations: 3.938 kB / 331.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1124, allocations: 0 / 331.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.1125, allocations: 11.98 kB / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1125, allocations: 4.031 kB / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.1125, allocations: 0 / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.1125, allocations: 4 kB / 331.6 MB, free: 15.9 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 8.655e-05/0.1126, allocations: 109.8 kB / 331.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.1126, allocations: 11.92 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.1127, allocations: 7.5 kB / 331.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1127, allocations: 0 / 331.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1127, allocations: 0 / 331.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1127, allocations: 0 / 331.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.1128, allocations: 169.5 kB / 331.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1128, allocations: 0 / 331.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.1129, allocations: 7.984 kB / 331.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1129, allocations: 4.062 kB / 331.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1129, allocations: 4 kB / 331.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1129, allocations: 4 kB / 331.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1129, allocations: 0 / 331.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.1131, allocations: 73.12 kB / 332 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.1131, allocations: 85.11 kB / 332.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.1131, allocations: 3.984 kB / 332.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.933e-05/0.1132, allocations: 3.938 kB / 332.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.1132, allocations: 7.969 kB / 332.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1132, allocations: 0 / 332.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.1132, allocations: 83.28 kB / 332.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1132, allocations: 0 / 332.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1135, allocations: 51.98 kB / 332.2 MB, free: 15.19 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.0002757/0.1138, allocations: 151.2 kB / 332.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.1139, allocations: 15.98 kB / 332.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.1139, allocations: 4 kB / 332.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.762e-05/0.1139, allocations: 11.94 kB / 332.4 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.1141, allocations: 0 / 332.4 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.1144, allocations: 142.3 kB / 332.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.1147, allocations: 0.6807 MB / 333.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.058e-05/0.1147, allocations: 4 kB / 333.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.1148, allocations: 11.44 kB / 333.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1148, allocations: 0 / 333.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of Templates: time 0.003674/0.1185, allocations: 1.074 MB / 334.3 MB, free: 13.04 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins/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