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.001344/0.001344, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.001484/0.001484, allocations: 212 kB / 23.74 MB, free: 4.688 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001556/0.001556, allocations: 47.92 kB / 378.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2729, allocations: 53.36 MB / 431.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001756/0.2746, allocations: 0.5239 MB / 432.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2768, allocations: 1.57 MB / 433.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.2768, allocations: 0 / 433.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.2769, allocations: 3.938 kB / 433.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006297/0.2775, allocations: 179.4 kB / 433.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.088e-05/0.2775, allocations: 0 / 433.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.936e-05/0.2776, allocations: 19.92 kB / 433.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.2776, allocations: 0 / 433.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.175e-05/0.2777, allocations: 11.92 kB / 433.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.2777, allocations: 8 kB / 433.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.2777, allocations: 0 / 433.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.2782, allocations: 251.7 kB / 434.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.2782, allocations: 7.938 kB / 434.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.855e-05/0.2782, allocations: 0 / 434.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.2785, allocations: 180.8 kB / 434.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2785, allocations: 0 / 434.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2785, allocations: 0 / 434.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.2785, allocations: 4 kB / 434.4 MB, free: 4.188 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.0004912/0.279, allocations: 290 kB / 434.6 MB, free: 3.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.279, allocations: 8.031 kB / 434.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.2791, allocations: 4.938 kB / 434.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.2792, allocations: 118.4 kB / 434.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.2792, allocations: 4.375 kB / 434.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.2793, allocations: 384 / 434.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.2794, allocations: 45.94 kB / 434.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2794, allocations: 0 / 434.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.2794, allocations: 0 / 434.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2794, allocations: 4 kB / 434.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.537e-05/0.2794, allocations: 7.984 kB / 434.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.2796, allocations: 124.8 kB / 435 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/0.2797, allocations: 38.52 kB / 435 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.2797, allocations: 8.859 kB / 435 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.2797, allocations: 0 / 435 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.2798, allocations: 46.58 kB / 435 MB, free: 3.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2798, allocations: 0 / 435 MB, free: 3.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001568/0.2799, allocations: 49.64 kB / 435.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.28, allocations: 55.34 kB / 435.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2801, allocations: 110 kB / 435.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2801, allocations: 25.7 kB / 435.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.2801, allocations: 84.08 kB / 435.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.2802, allocations: 19.89 kB / 435.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.2802, allocations: 9.719 kB / 435.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2803, allocations: 318.8 kB / 435.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.2803, allocations: 7.984 kB / 435.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.2804, allocations: 17.72 kB / 435.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.2804, allocations: 29.72 kB / 435.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2804, allocations: 0 / 435.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.453e-05/0.2805, allocations: 57.62 kB / 435.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2805, allocations: 7.938 kB / 435.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.2805, allocations: 0 / 435.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2806, allocations: 4 kB / 435.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.2806, allocations: 7.984 kB / 435.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2806, allocations: 4 kB / 435.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.2807, allocations: 4.031 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.2807, allocations: 0 / 435.8 MB, free: 2.512 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 8.148e-05/0.2807, allocations: 117.8 kB / 436 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.2808, allocations: 3.938 kB / 436 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.2808, allocations: 3.688 kB / 436 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2808, allocations: 4 kB / 436 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2808, allocations: 0 / 436 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2808, allocations: 3.938 kB / 436 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.2809, allocations: 128.7 kB / 436.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2809, allocations: 4 kB / 436.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.281, allocations: 11.98 kB / 436.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.281, allocations: 3.938 kB / 436.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.281, allocations: 0 / 436.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.281, allocations: 0 / 436.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.281, allocations: 0 / 436.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.2811, allocations: 77.06 kB / 436.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.2811, allocations: 11.91 kB / 436.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.2812, allocations: 4.062 kB / 436.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.801e-05/0.2812, allocations: 128 / 436.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.2812, allocations: 7.984 kB / 436.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2812, allocations: 8 kB / 436.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.683e-05/0.2812, allocations: 79.28 kB / 436.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2812, allocations: 0 / 436.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.2815, allocations: 55.86 kB / 436.4 MB, free: 1.922 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.0002568/0.2818, allocations: 143.1 kB / 436.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.425e-05/0.2819, allocations: 23.98 kB / 436.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2819, allocations: 0 / 436.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.2819, allocations: 12.45 kB / 436.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.282, allocations: 3.938 kB / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.2823, allocations: 138.1 kB / 436.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.2826, allocations: 0.6807 MB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.023e-05/0.2827, allocations: 4 kB / 437.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.2827, allocations: 11.59 kB / 437.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2827, allocations: 0 / 437.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of Templates: time 0.004045/0.2868, allocations: 1.143 MB / 438.5 MB, free: 15.71 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/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: 4.5566668070387095]