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.001259/0.001259, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001373/0.001373, allocations: 191.8 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.462/1.462, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001629/0.001629, allocations: 47.94 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.26, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001933/0.2619, allocations: 0.5236 MB / 423.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2639, allocations: 1.414 MB / 425 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.264, allocations: 0 / 425 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.264, allocations: 0 / 425 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006169/0.2646, allocations: 175.4 kB / 425.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.616e-05/0.2646, allocations: 7.938 kB / 425.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.2647, allocations: 11.98 kB / 425.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.2647, allocations: 4 kB / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.2648, allocations: 15.88 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.2648, allocations: 15.91 kB / 425.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.2648, allocations: 4 kB / 425.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.2652, allocations: 219.8 kB / 425.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.2652, allocations: 0 / 425.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.2652, allocations: 8 kB / 425.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.2655, allocations: 173.8 kB / 425.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2655, allocations: 4 kB / 425.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2655, allocations: 0 / 425.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2655, allocations: 0 / 425.6 MB, free: 11.89 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.0004145/0.2659, allocations: 286 kB / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.266, allocations: 8.031 kB / 425.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.266, allocations: 16.88 kB / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2661, allocations: 110.5 kB / 426 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2661, allocations: 4.375 kB / 426 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.2662, allocations: 384 / 426 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.585e-05/0.2663, allocations: 42 kB / 426.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2663, allocations: 3.938 kB / 426.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.2663, allocations: 4 kB / 426.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2663, allocations: 0 / 426.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.362e-05/0.2663, allocations: 11.92 kB / 426.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.2664, allocations: 101.3 kB / 426.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.793e-05/0.2665, allocations: 38.61 kB / 426.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.2666, allocations: 8.859 kB / 426.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.2666, allocations: 0 / 426.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2666, allocations: 34.56 kB / 426.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.2666, allocations: 0 / 426.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000141/0.2667, allocations: 57.66 kB / 426.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.2668, allocations: 51.41 kB / 426.4 MB, free: 11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.2668, allocations: 97.84 kB / 426.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2669, allocations: 29.7 kB / 426.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.2669, allocations: 84.14 kB / 426.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.2669, allocations: 15.83 kB / 426.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/0.267, allocations: 25.66 kB / 426.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2671, allocations: 322.8 kB / 427 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.2671, allocations: 4 kB / 427 MB, free: 10.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-05/0.2671, allocations: 21.72 kB / 427 MB, free: 10.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/0.2672, allocations: 29.64 kB / 427 MB, free: 10.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2672, allocations: 4 kB / 427 MB, free: 10.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.789e-05/0.2673, allocations: 61.95 kB / 427.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2673, allocations: 6.812 kB / 427.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2673, allocations: 3.984 kB / 427.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2673, allocations: 12.02 kB / 427.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.2674, allocations: 4 kB / 427.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2674, allocations: 4 kB / 427.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.2674, allocations: 0 / 427.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.2674, allocations: 0 / 427.1 MB, free: 10.23 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 7.378e-05/0.2675, allocations: 113.8 kB / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.2675, allocations: 0 / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.2675, allocations: 11.61 kB / 427.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2675, allocations: 4 kB / 427.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2675, allocations: 0 / 427.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.2675, allocations: 4 kB / 427.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.613e-05/0.2676, allocations: 105.3 kB / 427.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2676, allocations: 0 / 427.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.2677, allocations: 11.98 kB / 427.3 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2677, allocations: 0 / 427.3 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.2677, allocations: 0 / 427.3 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2677, allocations: 4.062 kB / 427.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2677, allocations: 7.938 kB / 427.4 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.2678, allocations: 81.11 kB / 427.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.2678, allocations: 0 / 427.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.2678, allocations: 0 / 427.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.2679, allocations: 8 kB / 427.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.2679, allocations: 7.984 kB / 427.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.2679, allocations: 0 / 427.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.893e-05/0.2679, allocations: 83.28 kB / 427.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2679, allocations: 0 / 427.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.2682, allocations: 51.86 kB / 427.6 MB, free: 9.688 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.0002366/0.2684, allocations: 147.1 kB / 427.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.2685, allocations: 19.92 kB / 427.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2685, allocations: 0 / 427.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.2685, allocations: 12.06 kB / 427.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.2686, allocations: 4 kB / 427.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.2689, allocations: 138.1 kB / 427.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.939e-05/0.269, allocations: 71.14 kB / 428 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.285e-05/0.269, allocations: 0 / 428 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.269, allocations: 11.44 kB / 428 MB, free: 9.234 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.269, allocations: 0 / 428 MB, free: 9.234 MB / 334.1 MB Notification: Performance of Templates: time 0.003427/0.2725, allocations: 1.075 MB / 429.1 MB, free: 8.16 MB / 334.1 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.3920585587620735]