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.001458/0.001458, allocations: 82.28 kB / 22.21 MB, free: 2.289 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.00111/0.00111, allocations: 147 kB / 25.6 MB, free: 8.93 MB / 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 0.9913/0.9913, allocations: 173.4 MB / 202.2 MB, free: 8.301 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.823e-06/1.823e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.962e-05, allocations: 2.312 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001969/0.001999, allocations: 0.5347 MB / 269.7 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.004062, allocations: 1.448 MB / 271.2 MB, free: 7.805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.004099, allocations: 0 / 271.2 MB, free: 7.805 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.004117, allocations: 1 kB / 271.2 MB, free: 7.805 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007184/0.004835, allocations: 176.8 kB / 271.3 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.32e-05/0.004859, allocations: 8.703 kB / 271.4 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.004916, allocations: 11.92 kB / 271.4 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.004961, allocations: 7.062 kB / 271.4 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.005028, allocations: 11.94 kB / 271.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.005082, allocations: 7.984 kB / 271.4 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.005096, allocations: 0 / 271.4 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.005483, allocations: 227.7 kB / 271.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.005496, allocations: 0 / 271.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.005515, allocations: 11.94 kB / 271.6 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.005839, allocations: 213 kB / 271.8 MB, free: 7.148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.005844, allocations: 4 kB / 271.8 MB, free: 7.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005845, allocations: 0 / 271.8 MB, free: 7.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.00585, allocations: 0 / 271.8 MB, free: 7.145 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.0003933/0.006244, allocations: 388.8 kB / 272.2 MB, free: 6.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.00628, allocations: 8.031 kB / 272.2 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.006313, allocations: 6.172 kB / 272.2 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.006413, allocations: 108.6 kB / 272.3 MB, free: 6.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.006426, allocations: 8.375 kB / 272.3 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.006443, allocations: 1 kB / 272.3 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.455e-05/0.006517, allocations: 39.22 kB / 272.4 MB, free: 6.535 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.006529, allocations: 4.172 kB / 272.4 MB, free: 6.531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.006534, allocations: 384 / 272.4 MB, free: 6.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.006541, allocations: 7.938 kB / 272.4 MB, free: 6.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.006564, allocations: 11.92 kB / 272.4 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.006691, allocations: 97.27 kB / 272.5 MB, free: 6.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.097e-05/0.006751, allocations: 35.09 kB / 272.5 MB, free: 6.344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.006771, allocations: 19.61 kB / 272.6 MB, free: 6.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.006777, allocations: 0 / 272.6 MB, free: 6.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.006801, allocations: 37.39 kB / 272.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.006802, allocations: 0 / 272.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001249/0.006927, allocations: 53.67 kB / 272.6 MB, free: 6.215 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.006958, allocations: 51.41 kB / 272.7 MB, free: 6.152 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.007043, allocations: 165.9 kB / 272.9 MB, free: 5.973 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.007054, allocations: 25.7 kB / 272.9 MB, free: 5.941 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.007099, allocations: 134.9 kB / 273 MB, free: 5.805 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.007129, allocations: 11.88 kB / 273 MB, free: 5.793 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.007163, allocations: 23.36 kB / 273 MB, free: 5.762 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.007299, allocations: 492.1 kB / 273.5 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.007314, allocations: 4 kB / 273.5 MB, free: 5.266 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.007341, allocations: 27.36 kB / 273.6 MB, free: 5.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.365e-05/0.007385, allocations: 31.3 kB / 273.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.007387, allocations: 0 / 273.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.699e-05/0.007474, allocations: 61.58 kB / 273.7 MB, free: 5.125 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.007489, allocations: 8 kB / 273.7 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.007494, allocations: 0 / 273.7 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.007503, allocations: 0 / 273.7 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.007573, allocations: 8 kB / 273.7 MB, free: 5.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.007576, allocations: 0 / 273.7 MB, free: 5.109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.007597, allocations: 3.938 kB / 273.7 MB, free: 5.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.007602, allocations: 4 kB / 273.7 MB, free: 5.102 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 7.396e-05/0.007676, allocations: 156.6 kB / 273.8 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.007688, allocations: 4 kB / 273.8 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.007715, allocations: 11.7 kB / 273.8 MB, free: 4.918 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.007717, allocations: 432 / 273.8 MB, free: 4.918 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.007718, allocations: 0 / 273.8 MB, free: 4.918 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.007722, allocations: 3.938 kB / 273.8 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.987e-05/0.007812, allocations: 97.27 kB / 273.9 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.007815, allocations: 4 kB / 273.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-05/0.007879, allocations: 11.97 kB / 274 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007881, allocations: 0 / 274 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.00789, allocations: 0 / 274 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007891, allocations: 3.938 kB / 274 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.007894, allocations: 8.062 kB / 274 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.008016, allocations: 100.3 kB / 274.1 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.008023, allocations: 0 / 274.1 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.008033, allocations: 0 / 274.1 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.644e-05/0.00805, allocations: 0 / 274.1 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.008065, allocations: 7.984 kB / 274.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.008068, allocations: 0 / 274.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.392e-05/0.008112, allocations: 123.2 kB / 274.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008112, allocations: 0 / 274.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002968/0.008409, allocations: 55.86 kB / 274.2 MB, free: 4.461 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.0002423/0.008652, allocations: 155.1 kB / 274.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.018e-05/0.008732, allocations: 35.55 kB / 274.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008733, allocations: 0 / 274.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.635e-05/0.00875, allocations: 11.69 kB / 274.4 MB, free: 4.242 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.008906, allocations: 7.922 kB / 274.5 MB, free: 4.234 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.009129, allocations: 126.1 kB / 274.6 MB, free: 4.082 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.009162, allocations: 63.3 kB / 274.6 MB, free: 4 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.596e-05/0.009208, allocations: 3.984 kB / 274.6 MB, free: 3.996 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.009252, allocations: 70.2 kB / 274.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009253, allocations: 4.062 kB / 274.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of Templates: time 0.003637/0.01289, allocations: 1.285 MB / 276 MB, free: 2.645 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 -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.651912893168628]