Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00173/0.00173, allocations: 83.47 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002159/0.002159, allocations: 157.5 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.424e-05, allocations: 3.5 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.00149/0.001515, allocations: 0.5127 MB / 325.5 MB, free: 172 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.003718, allocations: 1.476 MB / 327 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.003744, allocations: 0 / 327 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.003762, allocations: 0 / 327 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006414/0.004404, allocations: 177.9 kB / 327.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.014e-05/0.004424, allocations: 2.797 kB / 327.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.689e-05/0.004481, allocations: 16.56 kB / 327.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.004519, allocations: 2.938 kB / 327.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.004587, allocations: 18.27 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.579e-05/0.004633, allocations: 4.062 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.004647, allocations: 1.344 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004172/0.005064, allocations: 236.1 kB / 327.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.005081, allocations: 5.984 kB / 327.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.005109, allocations: 11.33 kB / 327.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.005486, allocations: 212.8 kB / 327.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.00549, allocations: 1.797 kB / 327.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005491, allocations: 0 / 327.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.005494, allocations: 0 / 327.7 MB, free: 14.91 MB / 302.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.0004497/0.005944, allocations: 286.9 kB / 328 MB, free: 14.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.005984, allocations: 13.34 kB / 328 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.006015, allocations: 1.938 kB / 328 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.006159, allocations: 111.5 kB / 328.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.006173, allocations: 4.984 kB / 328.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.006202, allocations: 6.594 kB / 328.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.006306, allocations: 37.34 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.00632, allocations: 192 / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.006329, allocations: 1.406 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.006336, allocations: 3.938 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.264e-05/0.006379, allocations: 11.91 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.006548, allocations: 100.7 kB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.962e-05/0.006637, allocations: 34.92 kB / 328.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.006668, allocations: 16.44 kB / 328.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.006681, allocations: 7.938 kB / 328.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.006726, allocations: 31.27 kB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.006727, allocations: 0 / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001695/0.006897, allocations: 49.38 kB / 328.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.006944, allocations: 59.69 kB / 328.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.007055, allocations: 103.7 kB / 328.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.007082, allocations: 25.7 kB / 328.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.007133, allocations: 88.22 kB / 328.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.007171, allocations: 17.11 kB / 328.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.007206, allocations: 18.19 kB / 328.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.007364, allocations: 315.2 kB / 329 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/0.007388, allocations: 17.05 kB / 329 MB, free: 13.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.007415, allocations: 16.89 kB / 329 MB, free: 13.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.31e-05/0.007478, allocations: 27.5 kB / 329.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00748, allocations: 1.281 kB / 329.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.782e-05/0.007578, allocations: 53.59 kB / 329.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.007592, allocations: 5.219 kB / 329.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.007597, allocations: 1.75 kB / 329.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.007612, allocations: 0 / 329.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.007696, allocations: 9.203 kB / 329.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.007702, allocations: 7.969 kB / 329.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.007725, allocations: 5.922 kB / 329.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.00773, allocations: 2.125 kB / 329.1 MB, free: 13.46 MB / 302.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.268e-05/0.007812, allocations: 112.7 kB / 329.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.007823, allocations: 1.641 kB / 329.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.007854, allocations: 9.609 kB / 329.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.007856, allocations: 0.7031 kB / 329.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.007862, allocations: 5.125 kB / 329.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.007866, allocations: 3.984 kB / 329.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.007986, allocations: 108.7 kB / 329.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007987, allocations: 4.609 kB / 329.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.008049, allocations: 7 kB / 329.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008051, allocations: 1.031 kB / 329.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.008062, allocations: 4 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008064, allocations: 1.656 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008064, allocations: 0 / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.008204, allocations: 80.17 kB / 329.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.008211, allocations: 5.578 kB / 329.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.008225, allocations: 1.547 kB / 329.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.845e-05/0.008243, allocations: 1.406 kB / 329.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.008262, allocations: 2.375 kB / 329.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.008267, allocations: 9.219 kB / 329.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.008325, allocations: 85.19 kB / 329.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.008325, allocations: 0 / 329.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.008609, allocations: 51.67 kB / 329.6 MB, free: 13.01 MB / 302.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.0003053/0.008915, allocations: 163.7 kB / 329.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.393e-05/0.008999, allocations: 18.34 kB / 329.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009, allocations: 0 / 329.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.608e-05/0.009016, allocations: 15.08 kB / 329.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.00916, allocations: 9.562 kB / 329.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.009427, allocations: 117.5 kB / 329.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.367e-05/0.00948, allocations: 66.05 kB / 330 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.271e-05/0.009553, allocations: 4.734 kB / 330 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.009575, allocations: 9.688 kB / 330 MB, free: 12.69 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.009576, allocations: 1.031 kB / 330 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Templates: time 0.00394/0.01352, allocations: 1.141 MB / 331.2 MB, free: 12.32 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.263398949056864]