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.001136/0.001136, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001507/0.002643, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009158/0.0009158, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002165, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.04/1.04, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08555/1.126, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.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.312e-06/1.312e-06, allocations: 0 / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.374e-05, allocations: 2.312 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001446/0.00146, allocations: 0.5831 MB / 240.1 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.003205, allocations: 1.463 MB / 241.6 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.003235, allocations: 0 / 241.6 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.23e-06/0.00324, allocations: 0 / 241.6 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.003707, allocations: 155.4 kB / 241.7 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.001e-05/0.003727, allocations: 11.92 kB / 241.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.15e-05/0.003779, allocations: 7.938 kB / 241.8 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.003815, allocations: 4 kB / 241.8 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.003897, allocations: 19.92 kB / 241.8 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.003942, allocations: 0 / 241.8 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.003954, allocations: 4 kB / 241.8 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.004363, allocations: 255.6 kB / 242 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.004373, allocations: 4 kB / 242 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.418e-05/0.004387, allocations: 7.938 kB / 242.1 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.004661, allocations: 167.7 kB / 242.2 MB, free: 500 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.004676, allocations: 0 / 242.2 MB, free: 500 kB / 234.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004676, allocations: 0 / 242.2 MB, free: 500 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.004692, allocations: 0 / 242.2 MB, free: 500 kB / 234.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.0003857/0.005078, allocations: 280.2 kB / 242.5 MB, free: 196 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.005109, allocations: 8.031 kB / 242.5 MB, free: 188 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.005137, allocations: 4.938 kB / 242.5 MB, free: 184 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.084e-05/0.005227, allocations: 113.7 kB / 242.6 MB, free: 44 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.005237, allocations: 4.375 kB / 242.6 MB, free: 40 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.005254, allocations: 4.359 kB / 242.6 MB, free: 36 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.031e-05/0.005314, allocations: 30.27 kB / 242.7 MB, free: 0 / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.005324, allocations: 192 / 242.7 MB, free: 0 / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.005343, allocations: 464 / 242.7 MB, free: 16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.005349, allocations: 3.938 kB / 242.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.484e-05/0.005374, allocations: 11.98 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.188e-05/0.005466, allocations: 64.98 kB / 242.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.628e-05/0.005522, allocations: 38.39 kB / 242.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.005537, allocations: 8.859 kB / 242.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.005546, allocations: 0 / 242.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.005573, allocations: 34.56 kB / 242.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.005574, allocations: 0 / 242.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 9.164e-05/0.005665, allocations: 45.78 kB / 242.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.005699, allocations: 55.34 kB / 242.9 MB, free: 15.69 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.005766, allocations: 103 kB / 243 MB, free: 15.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.005778, allocations: 29.7 kB / 243 MB, free: 15.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.005802, allocations: 84.12 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.005828, allocations: 7.906 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.00586, allocations: 17.72 kB / 243.1 MB, free: 15.42 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.005951, allocations: 326.8 kB / 243.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.005959, allocations: 4 kB / 243.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.005979, allocations: 17.72 kB / 243.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.006015, allocations: 25.73 kB / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006017, allocations: 0 / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.248e-05/0.006079, allocations: 45.62 kB / 243.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.006092, allocations: 8 kB / 243.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006096, allocations: 0 / 243.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.006104, allocations: 0 / 243.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.006203, allocations: 12 kB / 243.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.006206, allocations: 0 / 243.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.006227, allocations: 11.97 kB / 243.6 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.006231, allocations: 3.984 kB / 243.6 MB, free: 14.95 MB / 250.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 5.196e-05/0.006283, allocations: 113.8 kB / 243.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.00629, allocations: 4 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.006314, allocations: 7.688 kB / 243.7 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.006316, allocations: 0 / 243.7 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.006317, allocations: 128 / 243.7 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.00632, allocations: 4 kB / 243.7 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.78e-05/0.006388, allocations: 77.81 kB / 243.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006389, allocations: 0 / 243.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.006449, allocations: 12 kB / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.006454, allocations: 0 / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.006455, allocations: 0 / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.006463, allocations: 3.938 kB / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.006465, allocations: 4 kB / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006466, allocations: 0 / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.492e-05/0.006561, allocations: 76.98 kB / 243.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.006571, allocations: 4 kB / 243.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.267e-05/0.006583, allocations: 0 / 243.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.006593, allocations: 0 / 243.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.006596, allocations: 0 / 243.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.445e-05/0.00661, allocations: 16.88 kB / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00661, allocations: 0 / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.006841, allocations: 51.81 kB / 244 MB, free: 14.53 MB / 250.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.000218/0.007059, allocations: 148.2 kB / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.523e-05/0.007125, allocations: 24.77 kB / 244.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.00713, allocations: 4 kB / 244.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.007143, allocations: 8.859 kB / 244.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.376e-05/0.007216, allocations: 15.89 kB / 244.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.007423, allocations: 128.5 kB / 244.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.289e-05/0.007456, allocations: 59.34 kB / 244.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.191e-05/0.007498, allocations: 4 kB / 244.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.007531, allocations: 51.38 kB / 244.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007532, allocations: 0 / 244.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of Templates: time 0.003256/0.01079, allocations: 1.272 MB / 245.7 MB, free: 12.76 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5677306335419416]