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.001341/0.001341, allocations: 110 kB / 18.25 MB, free: 4.898 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.001368/0.001368, allocations: 195.5 kB / 19.18 MB, free: 3.977 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 / 225 MB, free: 12.29 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.001209/0.001209, allocations: 55.92 kB / 281.3 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1017, allocations: 46.62 MB / 327.9 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002267/0.104, allocations: 0.5291 MB / 328.5 MB, free: 3.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1064, allocations: 1.512 MB / 330 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.1065, allocations: 7.938 kB / 330 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.1066, allocations: 3.938 kB / 330 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000763/0.1074, allocations: 171.4 kB / 330.2 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.739e-05/0.1074, allocations: 0 / 330.2 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.341e-05/0.1075, allocations: 19.92 kB / 330.2 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.1075, allocations: 0 / 330.2 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.806e-05/0.1076, allocations: 7.938 kB / 330.2 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.989e-05/0.1076, allocations: 19.92 kB / 330.2 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1077, allocations: 0 / 330.2 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.108, allocations: 243.7 kB / 330.5 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1081, allocations: 0 / 330.5 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.1081, allocations: 11.94 kB / 330.5 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.1084, allocations: 163.8 kB / 330.6 MB, free: 1.766 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1085, allocations: 0 / 330.6 MB, free: 1.766 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1085, allocations: 3.938 kB / 330.6 MB, free: 1.762 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1085, allocations: 4 kB / 330.6 MB, free: 1.758 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.0004821/0.109, allocations: 363.7 kB / 331 MB, free: 1.355 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.109, allocations: 8.031 kB / 331 MB, free: 1.348 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.1091, allocations: 0.9375 kB / 331 MB, free: 1.348 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1092, allocations: 168.4 kB / 331.2 MB, free: 1.145 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.1092, allocations: 384 / 331.2 MB, free: 1.145 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.1093, allocations: 4.375 kB / 331.2 MB, free: 1.141 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.249e-05/0.1094, allocations: 41.94 kB / 331.2 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1094, allocations: 3.906 kB / 331.2 MB, free: 1.09 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1094, allocations: 0 / 331.2 MB, free: 1.09 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1094, allocations: 4 kB / 331.2 MB, free: 1.086 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.909e-05/0.1095, allocations: 11.98 kB / 331.2 MB, free: 1.074 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.1097, allocations: 157.7 kB / 331.4 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/0.1097, allocations: 26.58 kB / 331.4 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.1098, allocations: 8.859 kB / 331.4 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.1098, allocations: 3.938 kB / 331.4 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1098, allocations: 46.58 kB / 331.5 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1098, allocations: 4 kB / 331.5 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001627/0.11, allocations: 45.69 kB / 331.5 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1101, allocations: 51.41 kB / 331.6 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.1101, allocations: 98.03 kB / 331.7 MB, free: 0.543 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1102, allocations: 33.7 kB / 331.7 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.1102, allocations: 80.14 kB / 331.8 MB, free: 432 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.1103, allocations: 19.72 kB / 331.8 MB, free: 412 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1103, allocations: 17.72 kB / 331.8 MB, free: 388 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1104, allocations: 318.8 kB / 332.1 MB, free: 60 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.1105, allocations: 11.92 kB / 332.1 MB, free: 48 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.1105, allocations: 25.66 kB / 332.2 MB, free: 16 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.492e-05/0.1106, allocations: 21.72 kB / 332.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1106, allocations: 0 / 332.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.998e-05/0.1107, allocations: 61.62 kB / 332.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1107, allocations: 11.97 kB / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1107, allocations: 3.938 kB / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1108, allocations: 0 / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.1108, allocations: 11.98 kB / 332.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1109, allocations: 0 / 332.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.1109, allocations: 4 kB / 332.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.1109, allocations: 0 / 332.3 MB, free: 15.89 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.294e-05/0.111, allocations: 109.8 kB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.111, allocations: 7.938 kB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.111, allocations: 7.5 kB / 332.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.111, allocations: 0 / 332.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1111, allocations: 0 / 332.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1111, allocations: 3.938 kB / 332.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.1112, allocations: 161.6 kB / 332.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1112, allocations: 0 / 332.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.1113, allocations: 7.984 kB / 332.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1113, allocations: 4.062 kB / 332.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1113, allocations: 8 kB / 332.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1113, allocations: 0 / 332.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1113, allocations: 0 / 332.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.1115, allocations: 77.12 kB / 332.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.1115, allocations: 81.05 kB / 332.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1115, allocations: 0 / 332.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.1116, allocations: 4.031 kB / 332.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.1116, allocations: 3.984 kB / 332.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.1116, allocations: 0 / 332.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.1116, allocations: 83.28 kB / 332.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1117, allocations: 4 kB / 332.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1119, allocations: 55.98 kB / 332.9 MB, free: 15.18 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.0003154/0.1122, allocations: 151.2 kB / 333 MB, free: 15.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.551e-05/0.1123, allocations: 23.98 kB / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1124, allocations: 0 / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.1124, allocations: 7.938 kB / 333 MB, free: 14.99 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.1125, allocations: 0.6094 kB / 333 MB, free: 14.99 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.1128, allocations: 168 kB / 333.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.1131, allocations: 0.6845 MB / 333.9 MB, free: 14.09 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.1131, allocations: 7.438 kB / 333.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1131, allocations: 0 / 333.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of Templates: time 0.002673/0.1158, allocations: 1.145 MB / 335.1 MB, free: 12.93 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