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.001045/0.001045, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.0009471/0.0009471, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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 1.052/1.052, allocations: 173.3 MB / 201.1 MB, free: 9.32 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.633e-06/1.633e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.493e-05, allocations: 2.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.00117/0.001195, allocations: 0.5375 MB / 268.5 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.002709, allocations: 1.459 MB / 270 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.002741, allocations: 0 / 270 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.00276, allocations: 4 kB / 270 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005919/0.003351, allocations: 183.2 kB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.792e-05/0.003369, allocations: 0 / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.953e-05/0.003429, allocations: 19.92 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.003467, allocations: 3.984 kB / 270.2 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.003524, allocations: 11.98 kB / 270.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.003571, allocations: 3.938 kB / 270.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.003587, allocations: 0 / 270.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.003878, allocations: 223.7 kB / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.003894, allocations: 15.97 kB / 270.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.003911, allocations: 0 / 270.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.004163, allocations: 219.5 kB / 270.7 MB, free: 3.746 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004165, allocations: 3.938 kB / 270.7 MB, free: 3.742 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004166, allocations: 0 / 270.7 MB, free: 3.742 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.004171, allocations: 3.984 kB / 270.7 MB, free: 3.738 MB / 250.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.0003391/0.00451, allocations: 380 kB / 271 MB, free: 3.332 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.004549, allocations: 12.92 kB / 271 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.004586, allocations: 5.234 kB / 271 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.058e-05/0.004677, allocations: 112.6 kB / 271.2 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004686, allocations: 384 / 271.2 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.004708, allocations: 4.359 kB / 271.2 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.77e-05/0.004776, allocations: 38.27 kB / 271.2 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.004785, allocations: 4.188 kB / 271.2 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.004794, allocations: 4.359 kB / 271.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.004802, allocations: 3.938 kB / 271.2 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.004826, allocations: 7.938 kB / 271.2 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.004955, allocations: 116.7 kB / 271.3 MB, free: 2.965 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.675e-05/0.005012, allocations: 39.06 kB / 271.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.00503, allocations: 7.688 kB / 271.4 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.005039, allocations: 8.078 kB / 271.4 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.005063, allocations: 33.39 kB / 271.4 MB, free: 2.852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.005064, allocations: 0 / 271.4 MB, free: 2.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001217/0.005185, allocations: 57.58 kB / 271.5 MB, free: 2.789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.005213, allocations: 55.34 kB / 271.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/0.005293, allocations: 161.9 kB / 271.7 MB, free: 2.547 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.856e-06/0.005302, allocations: 25.7 kB / 271.7 MB, free: 2.516 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.005338, allocations: 130.9 kB / 271.8 MB, free: 2.383 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.005367, allocations: 15.83 kB / 271.9 MB, free: 2.367 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.005393, allocations: 19.38 kB / 271.9 MB, free: 2.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.00551, allocations: 0.4884 MB / 272.4 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.005526, allocations: 7.984 kB / 272.4 MB, free: 1.832 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.00555, allocations: 19.38 kB / 272.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.005591, allocations: 35.31 kB / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.005593, allocations: 0 / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.865e-05/0.005662, allocations: 57.64 kB / 272.5 MB, free: 1.699 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.005674, allocations: 4 kB / 272.5 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005679, allocations: 432 / 272.5 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.005694, allocations: 3.938 kB / 272.5 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.005771, allocations: 15.98 kB / 272.5 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.005777, allocations: 3.938 kB / 272.5 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.396e-05/0.005791, allocations: 4 kB / 272.5 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.005795, allocations: 0 / 272.5 MB, free: 1.668 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 6.557e-05/0.005861, allocations: 156.6 kB / 272.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.005867, allocations: 4 kB / 272.7 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.005899, allocations: 11.67 kB / 272.7 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.005901, allocations: 0 / 272.7 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.005908, allocations: 12.06 kB / 272.7 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.005911, allocations: 0 / 272.7 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.371e-05/0.005985, allocations: 116.6 kB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005986, allocations: 0 / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.00603, allocations: 4 kB / 272.8 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.006033, allocations: 4 kB / 272.8 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.006045, allocations: 4 kB / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006047, allocations: 3.984 kB / 272.8 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006048, allocations: 0 / 272.8 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.006154, allocations: 92.27 kB / 272.9 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.006161, allocations: 4 kB / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.006171, allocations: 0 / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-06/0.006179, allocations: 0 / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.006195, allocations: 3.984 kB / 272.9 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.006199, allocations: 7.938 kB / 272.9 MB, free: 1.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.218e-05/0.006241, allocations: 127.2 kB / 273.1 MB, free: 1.055 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006241, allocations: 32 / 273.1 MB, free: 1.055 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.006427, allocations: 59.8 kB / 273.1 MB, free: 0.9961 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.0001998/0.006627, allocations: 159.1 kB / 273.3 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.229e-05/0.006709, allocations: 27.61 kB / 273.3 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006711, allocations: 0 / 273.3 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.006722, allocations: 15.69 kB / 273.3 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.006837, allocations: 0 / 273.3 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.007074, allocations: 126.2 kB / 273.4 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.969e-05/0.007104, allocations: 63.3 kB / 273.5 MB, free: 0.543 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.787e-05/0.007142, allocations: 8.047 kB / 273.5 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.007163, allocations: 12.5 kB / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of SimCode: time 5e-07/0.007163, allocations: 0 / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of Templates: time 0.002869/0.01003, allocations: 1.129 MB / 274.6 MB, free: 15.39 MB / 266.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 -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.9242930030450225]