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.001245/0.001245, allocations: 96.39 kB / 16.94 MB, free: 5.98 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.001679/0.001679, allocations: 181.2 kB / 17.82 MB, free: 5.652 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.709/1.709, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004608/0.0004608, allocations: 16 kB / 280.7 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0006441/0.1109, allocations: 261.2 kB / 328.6 MB, free: 3.836 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1128, allocations: 1.451 MB / 330 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.1129, allocations: 4 kB / 330 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.019e-05/0.1129, allocations: 0 / 330 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.1134, allocations: 115.7 kB / 330.1 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.893e-05/0.1134, allocations: 4 kB / 330.2 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 3.998e-05/0.1134, allocations: 11.97 kB / 330.2 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.1135, allocations: 4 kB / 330.2 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.1135, allocations: 11.94 kB / 330.2 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.912e-05/0.1136, allocations: 4 kB / 330.2 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.1136, allocations: 0 / 330.2 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.1139, allocations: 227.6 kB / 330.4 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.1139, allocations: 0 / 330.4 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.114, allocations: 29.7 kB / 330.4 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1142, allocations: 115.8 kB / 330.5 MB, free: 1.848 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.1142, allocations: 0 / 330.5 MB, free: 1.848 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1142, allocations: 0 / 330.5 MB, free: 1.848 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1142, allocations: 0 / 330.5 MB, free: 1.848 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.0003723/0.1146, allocations: 359.5 kB / 330.9 MB, free: 1.449 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1146, allocations: 8.031 kB / 330.9 MB, free: 1.441 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.1146, allocations: 4 kB / 330.9 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.1148, allocations: 167 kB / 331.1 MB, free: 1.234 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1149, allocations: 3.953 kB / 331.1 MB, free: 1.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1149, allocations: 4 kB / 331.1 MB, free: 1.227 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.285e-05/0.115, allocations: 33.69 kB / 331.1 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.115, allocations: 0 / 331.1 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.115, allocations: 4 kB / 331.1 MB, free: 1.184 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.115, allocations: 4 kB / 331.1 MB, free: 1.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.1151, allocations: 7.984 kB / 331.1 MB, free: 1.172 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.1152, allocations: 161.7 kB / 331.3 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.677e-05/0.1153, allocations: 30.52 kB / 331.3 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1153, allocations: 7.938 kB / 331.3 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1154, allocations: 34.56 kB / 331.4 MB, free: 0.875 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1154, allocations: 7.938 kB / 331.4 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001429/0.1155, allocations: 49.69 kB / 331.4 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.1156, allocations: 59.33 kB / 331.5 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.1156, allocations: 101.9 kB / 331.6 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1157, allocations: 29.64 kB / 331.6 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.1157, allocations: 84.14 kB / 331.7 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1158, allocations: 7.891 kB / 331.7 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.1158, allocations: 0 / 331.7 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1159, allocations: 318.8 kB / 332 MB, free: 188 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.1159, allocations: 8 kB / 332 MB, free: 180 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.949e-05/0.1159, allocations: 21.7 kB / 332 MB, free: 152 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.116, allocations: 8 kB / 332 MB, free: 144 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.116, allocations: 0 / 332 MB, free: 144 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.895e-05/0.1161, allocations: 57.53 kB / 332.1 MB, free: 80 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1161, allocations: 11.95 kB / 332.1 MB, free: 68 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1161, allocations: 0 / 332.1 MB, free: 68 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1161, allocations: 4.031 kB / 332.1 MB, free: 64 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.1162, allocations: 8 kB / 332.1 MB, free: 56 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.944e-06/0.1162, allocations: 0 / 332.1 MB, free: 56 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.1163, allocations: 0 / 332.1 MB, free: 56 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.1163, allocations: 4 kB / 332.1 MB, free: 52 kB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.683e-05/0.1164, allocations: 113.8 kB / 332.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.1164, allocations: 4 kB / 332.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.1164, allocations: 11.44 kB / 332.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1164, allocations: 0 / 332.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1164, allocations: 4 kB / 332.3 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1165, allocations: 0 / 332.3 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1166, allocations: 157.8 kB / 332.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1166, allocations: 4 kB / 332.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.1167, allocations: 7.938 kB / 332.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1167, allocations: 0 / 332.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1167, allocations: 4 kB / 332.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1167, allocations: 7.953 kB / 332.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1167, allocations: 0 / 332.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.1168, allocations: 81.02 kB / 332.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.1169, allocations: 77.11 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1169, allocations: 3.938 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.1169, allocations: 4 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.1169, allocations: 7.984 kB / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.117, allocations: 0 / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.942e-05/0.117, allocations: 83.73 kB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.117, allocations: 0 / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1173, allocations: 52 kB / 332.7 MB, free: 15.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002412/0.1175, allocations: 155.2 kB / 332.9 MB, free: 15.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.372e-05/0.1176, allocations: 20.12 kB / 332.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1176, allocations: 0 / 332.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/0.1177, allocations: 15.92 kB / 332.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.1178, allocations: 0 / 332.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.118, allocations: 134.8 kB / 333.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1183, allocations: 0.6849 MB / 333.7 MB, free: 14.27 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.953e-05/0.1184, allocations: 4 kB / 333.7 MB, free: 14.27 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.1184, allocations: 7.438 kB / 333.7 MB, free: 14.26 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1184, allocations: 0 / 333.7 MB, free: 14.26 MB / 286.1 MB Notification: Performance of Templates: time 0.003311/0.1217, allocations: 1.065 MB / 334.8 MB, free: 13.19 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches