Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 39.94 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2674, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001822/0.2692, allocations: 0.5224 MB / 432.9 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.2715, allocations: 1.462 MB / 434.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.2715, allocations: 3.938 kB / 434.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.2715, allocations: 0 / 434.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.2722, allocations: 179.1 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.934e-05/0.2722, allocations: 11.98 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.627e-05/0.2723, allocations: 11.94 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.2723, allocations: 7.938 kB / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.171e-05/0.2724, allocations: 15.97 kB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.552e-05/0.2724, allocations: 3.938 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2725, allocations: 4 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.2729, allocations: 235.7 kB / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.2729, allocations: 0 / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.2729, allocations: 4 kB / 434.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.2732, allocations: 170.6 kB / 434.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2732, allocations: 4 kB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2732, allocations: 0 / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.2732, allocations: 3.984 kB / 435 MB, free: 4.059 MB / 334.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.0004623/0.2737, allocations: 290 kB / 435.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2737, allocations: 8.031 kB / 435.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.2738, allocations: 8.938 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2739, allocations: 122.4 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2739, allocations: 4.312 kB / 435.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.2739, allocations: 4.375 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.328e-05/0.274, allocations: 34.02 kB / 435.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.274, allocations: 3.984 kB / 435.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.274, allocations: 4 kB / 435.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2741, allocations: 4 kB / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.2741, allocations: 11.94 kB / 435.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.2742, allocations: 109.3 kB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.632e-05/0.2743, allocations: 30.52 kB / 435.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.2743, allocations: 12.86 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.2743, allocations: 4.078 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.2744, allocations: 30.56 kB / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2744, allocations: 0 / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001507/0.2745, allocations: 53.56 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.2746, allocations: 59.41 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.2747, allocations: 97.86 kB / 435.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2747, allocations: 25.7 kB / 435.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.2748, allocations: 84.12 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.2748, allocations: 15.91 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.2749, allocations: 17.72 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.275, allocations: 310.8 kB / 436.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.2751, allocations: 11.98 kB / 436.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.2751, allocations: 17.72 kB / 436.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.277e-05/0.2752, allocations: 26.09 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2752, allocations: 4 kB / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.475e-05/0.2753, allocations: 61.61 kB / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2753, allocations: 4 kB / 436.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2753, allocations: 3.938 kB / 436.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2753, allocations: 0 / 436.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.2754, allocations: 11.98 kB / 436.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2754, allocations: 3.938 kB / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.646e-05/0.2754, allocations: 8 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.2754, allocations: 0 / 436.4 MB, free: 2.41 MB / 334.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 0.0001023/0.2755, allocations: 113.9 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.2755, allocations: 3.953 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.2756, allocations: 11.62 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2756, allocations: 3.938 kB / 436.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2756, allocations: 4 kB / 436.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2756, allocations: 0 / 436.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.2757, allocations: 101.3 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2757, allocations: 0 / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.2757, allocations: 4 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2757, allocations: 4 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.782e-05/0.2758, allocations: 8.125 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2758, allocations: 7.938 kB / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2758, allocations: 0 / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.276, allocations: 77.05 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.276, allocations: 7.969 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.276, allocations: 7.938 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.276, allocations: 3.938 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.276, allocations: 0 / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.276, allocations: 4 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.476e-05/0.2761, allocations: 83.27 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2761, allocations: 0 / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000332/0.2764, allocations: 55.86 kB / 436.9 MB, free: 1.855 MB / 334.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.0002759/0.2767, allocations: 147.2 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.977e-05/0.2768, allocations: 23.92 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2768, allocations: 0 / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.2768, allocations: 8 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.277, allocations: 6.578 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.2773, allocations: 163.8 kB / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.765e-05/0.2774, allocations: 59.36 kB / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.2774, allocations: 11.5 kB / 437.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2774, allocations: 0 / 437.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of Templates: time 0.003568/0.281, allocations: 1.21 MB / 438.5 MB, free: 176 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.0380793758668005]