Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001608/0.001608, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.465/1.465, allocations: 230.4 MB / 251.1 MB, free: 8.418 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 67.83 kB / 368.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2735, allocations: 53.32 MB / 422.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001574/0.2751, allocations: 0.516 MB / 422.8 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2771, allocations: 1.555 MB / 424.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.2772, allocations: 4 kB / 424.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.2772, allocations: 0 / 424.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006094/0.2778, allocations: 171.4 kB / 424.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.5e-05/0.2778, allocations: 7.969 kB / 424.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.526e-05/0.2779, allocations: 12 kB / 424.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.2779, allocations: 7.984 kB / 424.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.278, allocations: 15.88 kB / 424.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.278, allocations: 4 kB / 424.6 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.278, allocations: 0 / 424.6 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.2784, allocations: 251.7 kB / 424.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.2785, allocations: 3.984 kB / 424.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.2785, allocations: 7.938 kB / 424.8 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.2787, allocations: 175.2 kB / 425 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2787, allocations: 0 / 425 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2788, allocations: 0 / 425 MB, free: 5.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2788, allocations: 0 / 425 MB, free: 5.094 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.000466/0.2792, allocations: 367.1 kB / 425.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2793, allocations: 12.03 kB / 425.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.2793, allocations: 0.9375 kB / 425.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.2795, allocations: 168.3 kB / 425.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2795, allocations: 384 / 425.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.2795, allocations: 384 / 425.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.263e-05/0.2796, allocations: 49.92 kB / 425.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2796, allocations: 0 / 425.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.2796, allocations: 0 / 425.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.2796, allocations: 8 kB / 425.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.2797, allocations: 7.984 kB / 425.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.2799, allocations: 161.7 kB / 425.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.802e-05/0.2799, allocations: 26.58 kB / 425.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.28, allocations: 16.94 kB / 425.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.28, allocations: 3.938 kB / 425.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.28, allocations: 38.5 kB / 425.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.28, allocations: 0 / 425.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001459/0.2802, allocations: 49.64 kB / 425.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2802, allocations: 51.41 kB / 425.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2803, allocations: 101.9 kB / 426 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2803, allocations: 25.7 kB / 426.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.2804, allocations: 84.12 kB / 426.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.2804, allocations: 15.91 kB / 426.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.2804, allocations: 17.66 kB / 426.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2806, allocations: 318.8 kB / 426.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.2806, allocations: 11.98 kB / 426.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.2806, allocations: 17.66 kB / 426.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.07e-05/0.2807, allocations: 29.72 kB / 426.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2807, allocations: 0 / 426.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.72e-05/0.2808, allocations: 53.62 kB / 426.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2808, allocations: 11.97 kB / 426.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2808, allocations: 0 / 426.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2808, allocations: 4 kB / 426.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/0.2809, allocations: 7.984 kB / 426.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2809, allocations: 4 kB / 426.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.2809, allocations: 4 kB / 426.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.2809, allocations: 0 / 426.6 MB, free: 3.227 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 8.761e-05/0.281, allocations: 109.8 kB / 426.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.281, allocations: 4.484 kB / 426.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.281, allocations: 11.5 kB / 426.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.281, allocations: 8 kB / 426.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.281, allocations: 0 / 426.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2811, allocations: 3.984 kB / 426.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.2812, allocations: 165.5 kB / 426.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2812, allocations: 0 / 426.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.2813, allocations: 11.98 kB / 426.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2813, allocations: 3.938 kB / 426.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2813, allocations: 3.938 kB / 426.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2813, allocations: 0 / 426.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2813, allocations: 0 / 426.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.2814, allocations: 73.12 kB / 427 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.2815, allocations: 85.08 kB / 427.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.2815, allocations: 7.984 kB / 427.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.2815, allocations: 0 / 427.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.2815, allocations: 0 / 427.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.2815, allocations: 0 / 427.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.729e-05/0.2816, allocations: 79.28 kB / 427.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2816, allocations: 8.062 kB / 427.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.2818, allocations: 59.8 kB / 427.2 MB, free: 2.5 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.0002807/0.2821, allocations: 155.1 kB / 427.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.829e-05/0.2822, allocations: 12 kB / 427.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.2822, allocations: 8 kB / 427.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.2822, allocations: 7.984 kB / 427.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.2824, allocations: 7.938 kB / 427.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.2827, allocations: 138 kB / 427.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.283, allocations: 0.6768 MB / 428.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.474e-05/0.283, allocations: 4 kB / 428.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.2831, allocations: 11.44 kB / 428.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2831, allocations: 0 / 428.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of Templates: time 0.003821/0.2869, allocations: 1.125 MB / 429.4 MB, free: 304 kB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches