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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003247/0.003247, allocations: 144.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8514/0.8514, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.518e-05, allocations: 4.812 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0008831/0.0008983, allocations: 0.5049 MB / 320.2 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.002157, allocations: 1.41 MB / 321.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.002182, allocations: 0 / 321.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.002199, allocations: 3.938 kB / 321.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004803/0.002679, allocations: 187.3 kB / 321.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.71e-05/0.002696, allocations: 3.938 kB / 321.8 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.002743, allocations: 15.92 kB / 321.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.002781, allocations: 8 kB / 321.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.002832, allocations: 7.984 kB / 321.8 MB, free: 3.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.002889, allocations: 11.92 kB / 321.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.002901, allocations: 4 kB / 321.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.00315, allocations: 223.7 kB / 322.1 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.003162, allocations: 11.98 kB / 322.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.372e-05/0.003176, allocations: 0 / 322.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.003394, allocations: 211.5 kB / 322.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003396, allocations: 7.938 kB / 322.3 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.003397, allocations: 0 / 322.3 MB, free: 3.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.0034, allocations: 0 / 322.3 MB, free: 3.223 MB / 282.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.0003173/0.003717, allocations: 289.9 kB / 322.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.003749, allocations: 8.922 kB / 322.6 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.003778, allocations: 16.89 kB / 322.6 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.003867, allocations: 109.8 kB / 322.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003877, allocations: 384 / 322.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.003894, allocations: 384 / 322.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.233e-05/0.003957, allocations: 34.27 kB / 322.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.003965, allocations: 192 / 322.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.003974, allocations: 4.375 kB / 322.7 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.003979, allocations: 3.938 kB / 322.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.004007, allocations: 7.984 kB / 322.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.004112, allocations: 105.4 kB / 322.9 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.004167, allocations: 38.52 kB / 322.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.004185, allocations: 12.86 kB / 322.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.004193, allocations: 0 / 322.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.004212, allocations: 34.64 kB / 322.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.32e-07/0.004212, allocations: 0 / 322.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001143/0.004326, allocations: 53.58 kB / 323 MB, free: 2.402 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.004354, allocations: 59.34 kB / 323 MB, free: 2.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/0.004414, allocations: 102 kB / 323.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.004422, allocations: 25.7 kB / 323.2 MB, free: 2.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.004449, allocations: 84.14 kB / 323.3 MB, free: 2.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.004474, allocations: 15.88 kB / 323.3 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.004496, allocations: 17.72 kB / 323.3 MB, free: 2.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.004572, allocations: 314.8 kB / 323.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.004586, allocations: 7.984 kB / 323.6 MB, free: 1.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/0.004608, allocations: 21.72 kB / 323.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/0.004641, allocations: 29.66 kB / 323.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.004644, allocations: 4 kB / 323.7 MB, free: 1.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.137e-05/0.004695, allocations: 57.58 kB / 323.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.004705, allocations: 7.938 kB / 323.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004709, allocations: 0 / 323.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.004718, allocations: 8.031 kB / 323.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.004783, allocations: 11.92 kB / 323.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.004789, allocations: 7.938 kB / 323.7 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.0048, allocations: 0 / 323.7 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.004804, allocations: 0 / 323.7 MB, free: 1.578 MB / 282.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.664e-05/0.00485, allocations: 113.8 kB / 323.9 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-06/0.004854, allocations: 0 / 323.9 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.004873, allocations: 3.688 kB / 323.9 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.004875, allocations: 4 kB / 323.9 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.004879, allocations: 3.938 kB / 323.9 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.004881, allocations: 4 kB / 323.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.285e-05/0.004934, allocations: 105.3 kB / 324 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004935, allocations: 0 / 324 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.00497, allocations: 8 kB / 324 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.004971, allocations: 0 / 324 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.004976, allocations: 128 / 324 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.004978, allocations: 4 kB / 324 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.7e-07/0.004978, allocations: 0 / 324 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.673e-05/0.005065, allocations: 88.94 kB / 324.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-06/0.005069, allocations: 4.031 kB / 324.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-06/0.005077, allocations: 0 / 324.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-06/0.005084, allocations: 4.062 kB / 324.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.005095, allocations: 4 kB / 324.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.005099, allocations: 3.938 kB / 324.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.6e-05/0.005125, allocations: 87.27 kB / 324.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005125, allocations: 0 / 324.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.005283, allocations: 47.88 kB / 324.2 MB, free: 1.039 MB / 282.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.0001738/0.005457, allocations: 159.1 kB / 324.4 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.445e-05/0.005522, allocations: 23.92 kB / 324.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.005523, allocations: 0 / 324.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-06/0.00553, allocations: 8.578 kB / 324.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.873e-05/0.005629, allocations: 7.938 kB / 324.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.005826, allocations: 142.6 kB / 324.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.00586, allocations: 67.27 kB / 324.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.005877, allocations: 12.5 kB / 324.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of SimCode: time 2.4e-07/0.005877, allocations: 0 / 324.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of Templates: time 0.001702/0.007579, allocations: 1.179 MB / 325.8 MB, free: 15.38 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.069039988331497]