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.001829/0.001829, allocations: 106.4 kB / 17.73 MB, free: 5.355 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.001934/0.001934, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.575/1.575, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001524/0.001524, allocations: 55.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002017/0.1187, allocations: 0.5344 MB / 375.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.1214, allocations: 1.516 MB / 377.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.1215, allocations: 0 / 377.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.1215, allocations: 0 / 377.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008467/0.1224, allocations: 179.4 kB / 377.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.993e-05/0.1224, allocations: 0 / 377.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.346e-05/0.1225, allocations: 19.92 kB / 377.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.1226, allocations: 0 / 377.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.1226, allocations: 7.938 kB / 377.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.1227, allocations: 11.92 kB / 377.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1227, allocations: 3.984 kB / 377.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000479/0.1232, allocations: 247.7 kB / 377.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.1232, allocations: 0 / 377.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.1233, allocations: 11.92 kB / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.1236, allocations: 163.8 kB / 377.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1236, allocations: 0 / 377.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1236, allocations: 0 / 377.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1236, allocations: 0 / 377.8 MB, free: 1.883 MB / 318.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.0005415/0.1241, allocations: 367.4 kB / 378.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1242, allocations: 8.031 kB / 378.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.1242, allocations: 4.844 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1245, allocations: 172.3 kB / 378.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1245, allocations: 4.312 kB / 378.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.1245, allocations: 8.359 kB / 378.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.184e-05/0.1246, allocations: 38.02 kB / 378.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1246, allocations: 0 / 378.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1247, allocations: 0 / 378.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1247, allocations: 0 / 378.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.1247, allocations: 7.984 kB / 378.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.1249, allocations: 153.7 kB / 378.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.434e-05/0.125, allocations: 38.52 kB / 378.6 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.125, allocations: 16.94 kB / 378.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.125, allocations: 0 / 378.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.1252, allocations: 38.5 kB / 378.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1252, allocations: 0 / 378.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001418/0.1253, allocations: 49.78 kB / 378.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1254, allocations: 55.34 kB / 378.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.853e-05/0.1255, allocations: 109.8 kB / 378.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1255, allocations: 25.7 kB / 378.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.1255, allocations: 84.14 kB / 379 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1256, allocations: 11.84 kB / 379 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.1256, allocations: 17.72 kB / 379 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.1259, allocations: 314.8 kB / 379.3 MB, free: 180 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.1259, allocations: 12 kB / 379.3 MB, free: 168 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.1259, allocations: 22.56 kB / 379.4 MB, free: 140 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.619e-05/0.126, allocations: 25.72 kB / 379.4 MB, free: 108 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.126, allocations: 0 / 379.4 MB, free: 108 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.837e-05/0.1261, allocations: 61.53 kB / 379.4 MB, free: 40 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1261, allocations: 7.938 kB / 379.4 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1261, allocations: 0 / 379.4 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1261, allocations: 3.984 kB / 379.4 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.1262, allocations: 8 kB / 379.5 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1262, allocations: 4.031 kB / 379.5 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.1263, allocations: 8.125 kB / 379.5 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2012/0.3275, allocations: 7.953 kB / 379.5 MB, free: 12.91 MB / 318.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 9.718e-05/0.3276, allocations: 105.8 kB / 379.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.3276, allocations: 6 kB / 379.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.3277, allocations: 6.906 kB / 379.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3277, allocations: 0 / 379.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3277, allocations: 0.9688 kB / 379.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3277, allocations: 0.5625 kB / 379.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3278, allocations: 159.7 kB / 379.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3278, allocations: 1.766 kB / 379.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3279, allocations: 10.19 kB / 379.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.328, allocations: 1.5 kB / 379.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.328, allocations: 1.875 kB / 379.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.328, allocations: 3.75 kB / 379.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.328, allocations: 0.7969 kB / 379.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.3282, allocations: 81.61 kB / 379.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.3282, allocations: 80.78 kB / 379.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3282, allocations: 2.312 kB / 379.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.3282, allocations: 3.938 kB / 379.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.3283, allocations: 5.203 kB / 379.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3283, allocations: 2.125 kB / 379.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.346e-05/0.3283, allocations: 80.81 kB / 380 MB, free: 12.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3283, allocations: 0 / 380 MB, free: 12.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000351/0.3287, allocations: 57.22 kB / 380.1 MB, free: 12.37 MB / 318.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.0002537/0.3289, allocations: 140.1 kB / 380.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.329, allocations: 22 kB / 380.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.329, allocations: 0 / 380.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.726e-05/0.3291, allocations: 16.27 kB / 380.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.3292, allocations: 1.547 kB / 380.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.3295, allocations: 126.9 kB / 380.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.459e-05/0.3296, allocations: 0.6828 MB / 381.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.984e-05/0.3297, allocations: 4.672 kB / 381.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.3297, allocations: 8.812 kB / 381.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3297, allocations: 0 / 381.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of Templates: time 0.003797/0.3335, allocations: 1.078 MB / 382.1 MB, free: 11.41 MB / 318.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