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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001141, allocations: 186.5 kB / 17.27 MB, free: 4.48 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 121.4 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008252/0.0008253, allocations: 39.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2509, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001657/0.2526, allocations: 0.5926 MB / 400.1 MB, free: 32.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.254, allocations: 1.524 MB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.254, allocations: 0 / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.2541, allocations: 4 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.2545, allocations: 128.2 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.728e-05/0.2545, allocations: 0 / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.009e-05/0.2546, allocations: 12 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.2546, allocations: 7.922 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.2547, allocations: 11.92 kB / 401.7 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.2547, allocations: 15.94 kB / 401.8 MB, free: 31.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.2547, allocations: 0 / 401.8 MB, free: 31.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.255, allocations: 243.7 kB / 402 MB, free: 30.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.255, allocations: 0 / 402 MB, free: 30.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.255, allocations: 11.94 kB / 402 MB, free: 30.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.2553, allocations: 167.7 kB / 402.2 MB, free: 30.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2553, allocations: 0 / 402.2 MB, free: 30.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2553, allocations: 0 / 402.2 MB, free: 30.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.2553, allocations: 0 / 402.2 MB, free: 30.66 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.000382/0.2557, allocations: 359.5 kB / 402.5 MB, free: 30.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2557, allocations: 12.03 kB / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.2558, allocations: 0.9375 kB / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.718e-05/0.2559, allocations: 169.9 kB / 402.7 MB, free: 30.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.2559, allocations: 384 / 402.7 MB, free: 30.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2559, allocations: 4.375 kB / 402.7 MB, free: 30.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.061e-05/0.256, allocations: 38 kB / 402.7 MB, free: 30 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.256, allocations: 7.844 kB / 402.8 MB, free: 30 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.256, allocations: 0 / 402.8 MB, free: 30 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.256, allocations: 4 kB / 402.8 MB, free: 29.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.836e-05/0.256, allocations: 12 kB / 402.8 MB, free: 29.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.2562, allocations: 153.7 kB / 402.9 MB, free: 29.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.2562, allocations: 34.61 kB / 403 MB, free: 29.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.2562, allocations: 8.859 kB / 403 MB, free: 29.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.2563, allocations: 0 / 403 MB, free: 29.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.2563, allocations: 38.44 kB / 403 MB, free: 29.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.2563, allocations: 4 kB / 403 MB, free: 29.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001192/0.2564, allocations: 49.77 kB / 403.1 MB, free: 29.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/0.2564, allocations: 55.41 kB / 403.1 MB, free: 29.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.644e-05/0.2565, allocations: 101.8 kB / 403.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.2565, allocations: 25.7 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.969e-05/0.2565, allocations: 88.12 kB / 403.3 MB, free: 29.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.2566, allocations: 19.69 kB / 403.3 MB, free: 29.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.2566, allocations: 21.7 kB / 403.4 MB, free: 29.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.219e-05/0.2566, allocations: 314.8 kB / 403.7 MB, free: 28.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.2567, allocations: 8 kB / 403.7 MB, free: 28.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.2567, allocations: 25.64 kB / 403.7 MB, free: 28.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.428e-05/0.2567, allocations: 25.72 kB / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2567, allocations: 0 / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.75e-05/0.2568, allocations: 57.62 kB / 403.8 MB, free: 28.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2568, allocations: 11.94 kB / 403.8 MB, free: 28.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2568, allocations: 7.969 kB / 403.8 MB, free: 28.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2569, allocations: 0 / 403.8 MB, free: 28.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.2569, allocations: 8 kB / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.257, allocations: 0 / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.257, allocations: 0 / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.257, allocations: 4 kB / 403.8 MB, free: 28.8 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 4.943e-05/0.257, allocations: 113.8 kB / 403.9 MB, free: 28.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.2571, allocations: 3.938 kB / 403.9 MB, free: 28.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.2571, allocations: 11.5 kB / 403.9 MB, free: 28.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2571, allocations: 4 kB / 403.9 MB, free: 28.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2571, allocations: 0 / 403.9 MB, free: 28.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2571, allocations: 0 / 403.9 MB, free: 28.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.76e-05/0.2572, allocations: 157.6 kB / 404.1 MB, free: 28.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2572, allocations: 0 / 404.1 MB, free: 28.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.2573, allocations: 12.06 kB / 404.1 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2573, allocations: 3.938 kB / 404.1 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2573, allocations: 4 kB / 404.1 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2573, allocations: 0 / 404.1 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2573, allocations: 3.984 kB / 404.1 MB, free: 28.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.2579, allocations: 0.9038 MB / 405 MB, free: 27.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.2579, allocations: 85.08 kB / 405.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-06/0.258, allocations: 0 / 405.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.258, allocations: 8.125 kB / 405.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.258, allocations: 3.984 kB / 405.1 MB, free: 27.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.258, allocations: 0 / 405.1 MB, free: 27.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.719e-05/0.258, allocations: 79.28 kB / 405.2 MB, free: 27.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.2581, allocations: 4 kB / 405.2 MB, free: 27.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003297/0.2584, allocations: 55.92 kB / 405.3 MB, free: 27.12 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.0002713/0.2587, allocations: 143.2 kB / 405.4 MB, free: 26.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.543e-05/0.2588, allocations: 23.92 kB / 405.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2588, allocations: 4.062 kB / 405.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.2588, allocations: 8 kB / 405.4 MB, free: 26.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.259, allocations: 8.938 kB / 405.4 MB, free: 26.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.2594, allocations: 234.7 kB / 405.7 MB, free: 26.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.2595, allocations: 0.6809 MB / 406.3 MB, free: 25.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.2597, allocations: 11.98 kB / 406.4 MB, free: 25.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.2597, allocations: 7.438 kB / 406.4 MB, free: 25.94 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2597, allocations: 0 / 406.4 MB, free: 25.94 MB / 298.7 MB Notification: Performance of Templates: time 0.002948/0.2627, allocations: 1.097 MB / 407.5 MB, free: 24.84 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches