Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_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.001459/0.001459, allocations: 110.2 kB / 17.06 MB, free: 5.969 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.001685/0.001685, allocations: 198.8 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 47.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2553, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001479/0.2568, allocations: 0.5299 MB / 401.2 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.2585, allocations: 1.48 MB / 402.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.2585, allocations: 0 / 402.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.2586, allocations: 3.938 kB / 402.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.2591, allocations: 181.6 kB / 402.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.078e-05/0.2592, allocations: 4 kB / 402.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.474e-05/0.2592, allocations: 15.98 kB / 402.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.2593, allocations: 7.938 kB / 402.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.2593, allocations: 4 kB / 402.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.2594, allocations: 15.91 kB / 403 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.2594, allocations: 0 / 403 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.2598, allocations: 243.6 kB / 403.2 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.2598, allocations: 3.984 kB / 403.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.2599, allocations: 7.938 kB / 403.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.2601, allocations: 167.5 kB / 403.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2602, allocations: 4 kB / 403.4 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2602, allocations: 0 / 403.4 MB, free: 6.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.2602, allocations: 0 / 403.4 MB, free: 6.215 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.0004195/0.2606, allocations: 367.1 kB / 403.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2606, allocations: 8.031 kB / 403.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.2607, allocations: 0.9375 kB / 403.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2608, allocations: 172.3 kB / 403.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2608, allocations: 384 / 403.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.2609, allocations: 4.375 kB / 403.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.178e-05/0.2609, allocations: 45.95 kB / 404 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.261, allocations: 0 / 404 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.261, allocations: 3.984 kB / 404 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.261, allocations: 0 / 404 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.493e-05/0.261, allocations: 4 kB / 404 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.2612, allocations: 161.7 kB / 404.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/0.2613, allocations: 34.55 kB / 404.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.2613, allocations: 12.84 kB / 404.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.2613, allocations: 4 kB / 404.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.2614, allocations: 38.5 kB / 404.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2614, allocations: 0 / 404.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001374/0.2615, allocations: 45.78 kB / 404.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.2615, allocations: 51.41 kB / 404.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.2616, allocations: 101.8 kB / 404.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2616, allocations: 29.7 kB / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.2617, allocations: 88.14 kB / 404.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.2617, allocations: 23.7 kB / 404.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.2617, allocations: 17.72 kB / 404.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2619, allocations: 314.8 kB / 404.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.2619, allocations: 8 kB / 404.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.2619, allocations: 17.72 kB / 404.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.262, allocations: 33.7 kB / 404.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.262, allocations: 128 / 404.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.624e-05/0.2621, allocations: 65.58 kB / 405 MB, free: 4.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2621, allocations: 7.938 kB / 405 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2621, allocations: 0 / 405 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2621, allocations: 0 / 405 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.2622, allocations: 8 kB / 405 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2622, allocations: 0 / 405 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.2622, allocations: 11.94 kB / 405 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.2622, allocations: 0 / 405 MB, free: 4.336 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 6.228e-05/0.2623, allocations: 113.8 kB / 405.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.2623, allocations: 7.938 kB / 405.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.2624, allocations: 11.48 kB / 405.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2624, allocations: 0 / 405.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2624, allocations: 0 / 405.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.2624, allocations: 0 / 405.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.2625, allocations: 157.7 kB / 405.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2625, allocations: 0 / 405.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.2626, allocations: 4 kB / 405.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2626, allocations: 3.938 kB / 405.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2626, allocations: 8 kB / 405.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2626, allocations: 0 / 405.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2626, allocations: 0 / 405.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.2627, allocations: 81.06 kB / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.2627, allocations: 81.52 kB / 405.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.2628, allocations: 0 / 405.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.2628, allocations: 4.031 kB / 405.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.2628, allocations: 3.938 kB / 405.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.2628, allocations: 4.062 kB / 405.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.2629, allocations: 87.25 kB / 405.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.452e-06/0.2629, allocations: 0 / 405.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.2631, allocations: 55.81 kB / 405.6 MB, free: 3.625 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.0002392/0.2634, allocations: 151 kB / 405.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.993e-05/0.2634, allocations: 20 kB / 405.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2635, allocations: 0 / 405.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/0.2635, allocations: 11.98 kB / 405.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.2636, allocations: 8 kB / 405.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.2638, allocations: 130 kB / 405.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.2641, allocations: 0.6805 MB / 406.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.781e-05/0.2641, allocations: 4 kB / 406.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.2642, allocations: 7.438 kB / 406.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2642, allocations: 0 / 406.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of Templates: time 0.003157/0.2673, allocations: 1.082 MB / 407.7 MB, free: 1.473 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches