Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 178.1 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.6 MB / 223.7 MB, free: 8.961 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007683/0.0007684, allocations: 87.06 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002862, allocations: 7.984 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2445, allocations: 47.57 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.000561/0.2451, allocations: 266.2 kB / 376.9 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.2467, allocations: 1.738 MB / 378.6 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.2467, allocations: 0.9375 kB / 378.6 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.2468, allocations: 0 / 378.6 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.2472, allocations: 122.5 kB / 378.7 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.901e-05/0.2472, allocations: 14.2 kB / 378.7 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.667e-05/0.2473, allocations: 14.52 kB / 378.7 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.2473, allocations: 4.984 kB / 378.7 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.2474, allocations: 16.03 kB / 378.8 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.2474, allocations: 11.27 kB / 378.8 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.2474, allocations: 0 / 378.8 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.2477, allocations: 226.8 kB / 379 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.2478, allocations: 0 / 379 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.2478, allocations: 40.69 kB / 379 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.248, allocations: 167.7 kB / 379.2 MB, free: 43.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.248, allocations: 1.094 kB / 379.2 MB, free: 43.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.248, allocations: 0 / 379.2 MB, free: 43.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.248, allocations: 0 / 379.2 MB, free: 43.55 MB / 298.7 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.0002757/0.2483, allocations: 355.5 kB / 379.5 MB, free: 43.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2484, allocations: 10.12 kB / 379.6 MB, free: 43.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.2484, allocations: 5.719 kB / 379.6 MB, free: 43.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/0.2485, allocations: 170.9 kB / 379.7 MB, free: 42.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2485, allocations: 5.375 kB / 379.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.2485, allocations: 1.438 kB / 379.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.38e-05/0.2486, allocations: 42.34 kB / 379.8 MB, free: 42.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2486, allocations: 0 / 379.8 MB, free: 42.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2486, allocations: 1.031 kB / 379.8 MB, free: 42.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2486, allocations: 0 / 379.8 MB, free: 42.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.252e-05/0.2487, allocations: 5.062 kB / 379.8 MB, free: 42.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.2488, allocations: 159.4 kB / 379.9 MB, free: 42.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.415e-05/0.2489, allocations: 40.77 kB / 380 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.2489, allocations: 11.98 kB / 380 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.2489, allocations: 1.281 kB / 380 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.2489, allocations: 39.72 kB / 380 MB, free: 42.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2489, allocations: 0 / 380 MB, free: 42.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001163/0.249, allocations: 50.31 kB / 380.1 MB, free: 42.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.544e-05/0.2491, allocations: 55.34 kB / 380.1 MB, free: 42.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.2491, allocations: 107.8 kB / 380.2 MB, free: 42.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.69e-06/0.2491, allocations: 27.14 kB / 380.3 MB, free: 42.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.522e-05/0.2492, allocations: 80.14 kB / 380.3 MB, free: 42.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.2492, allocations: 9.312 kB / 380.4 MB, free: 42.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-06/0.2492, allocations: 1.344 kB / 380.4 MB, free: 42.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.039e-05/0.2492, allocations: 316.1 kB / 380.7 MB, free: 41.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.2493, allocations: 7.438 kB / 380.7 MB, free: 41.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.916e-05/0.2493, allocations: 14.72 kB / 380.7 MB, free: 41.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.2493, allocations: 36.77 kB / 380.7 MB, free: 41.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2493, allocations: 0 / 380.7 MB, free: 41.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.559e-05/0.2494, allocations: 58.14 kB / 380.8 MB, free: 41.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2494, allocations: 13.27 kB / 380.8 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.2494, allocations: 1.453 kB / 380.8 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2494, allocations: 7.922 kB / 380.8 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.2495, allocations: 7.625 kB / 380.8 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2495, allocations: 1.156 kB / 380.8 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.2496, allocations: 4.906 kB / 380.8 MB, free: 41.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.2496, allocations: 9.906 kB / 380.8 MB, free: 41.84 MB / 298.7 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 3.682e-05/0.2496, allocations: 106.9 kB / 380.9 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-06/0.2496, allocations: 5.062 kB / 380.9 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.2496, allocations: 12.55 kB / 380.9 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2496, allocations: 1.125 kB / 380.9 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2497, allocations: 0 / 380.9 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2497, allocations: 1.156 kB / 380.9 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.548e-05/0.2497, allocations: 154.2 kB / 381.1 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2497, allocations: 4 kB / 381.1 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.2498, allocations: 7.156 kB / 381.1 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2498, allocations: 3.938 kB / 381.1 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.2498, allocations: 0 / 381.1 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2498, allocations: 1.469 kB / 381.1 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2498, allocations: 0 / 381.1 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.739e-05/0.2499, allocations: 85.86 kB / 381.2 MB, free: 41.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.2499, allocations: 82.33 kB / 381.3 MB, free: 41.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.25, allocations: 0 / 381.3 MB, free: 41.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.734e-05/0.25, allocations: 5 kB / 381.3 MB, free: 41.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.25, allocations: 1.188 kB / 381.3 MB, free: 41.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.25, allocations: 1.125 kB / 381.3 MB, free: 41.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.202e-05/0.25, allocations: 86.61 kB / 381.4 MB, free: 41.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.25, allocations: 1.281 kB / 381.4 MB, free: 41.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.2503, allocations: 47.59 kB / 381.4 MB, free: 41.23 MB / 298.7 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.0002094/0.2505, allocations: 155.1 kB / 381.6 MB, free: 41.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.302e-05/0.2506, allocations: 18.59 kB / 381.6 MB, free: 41.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2506, allocations: 0.9375 kB / 381.6 MB, free: 41.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.2506, allocations: 17.3 kB / 381.6 MB, free: 41.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.2507, allocations: 2.25 kB / 381.6 MB, free: 41.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001819/0.2509, allocations: 139.8 kB / 381.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.533e-05/0.251, allocations: 0.6809 MB / 382.4 MB, free: 40.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.193e-05/0.2511, allocations: 9.484 kB / 382.4 MB, free: 40.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.2511, allocations: 8.969 kB / 382.4 MB, free: 40.25 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2511, allocations: 0 / 382.4 MB, free: 40.25 MB / 298.7 MB Notification: Performance of Templates: time 0.002602/0.2537, allocations: 1.062 MB / 383.5 MB, free: 39.7 MB / 298.7 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","../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches