Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 107.6 kB / 21.18 MB, free: 472 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 209 kB / 24.47 MB, free: 3.801 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 207.7 MB / 235.3 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 55.92 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3096, allocations: 49.16 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001637/0.3112, allocations: 0.5292 MB / 397.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.313, allocations: 1.443 MB / 398.8 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.3131, allocations: 0 / 398.8 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.3131, allocations: 1.406 kB / 398.8 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006395/0.3137, allocations: 175.5 kB / 399 MB, free: 8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.643e-05/0.3137, allocations: 10.31 kB / 399 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.322e-05/0.3138, allocations: 17.33 kB / 399 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.3138, allocations: 2.859 kB / 399 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.3139, allocations: 13 kB / 399 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.314, allocations: 8.062 kB / 399 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.314, allocations: 1.406 kB / 399 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004383/0.3144, allocations: 220.8 kB / 399.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.3144, allocations: 12.61 kB / 399.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.3144, allocations: 3.578 kB / 399.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.3148, allocations: 175 kB / 399.4 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3148, allocations: 0 / 399.4 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3148, allocations: 4 kB / 399.5 MB, free: 7.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3148, allocations: 0 / 399.5 MB, free: 7.867 MB / 318.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.0004049/0.3152, allocations: 288 kB / 399.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3152, allocations: 12.77 kB / 399.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.3153, allocations: 2 kB / 399.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3154, allocations: 112.1 kB / 399.9 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3154, allocations: 4.375 kB / 399.9 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3154, allocations: 2.922 kB / 399.9 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.332e-05/0.3155, allocations: 37.08 kB / 399.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3155, allocations: 0 / 399.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3155, allocations: 4.938 kB / 399.9 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3155, allocations: 5.578 kB / 399.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.595e-05/0.3156, allocations: 14.14 kB / 399.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.3157, allocations: 108.7 kB / 400 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.3158, allocations: 32.08 kB / 400.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.3158, allocations: 13.36 kB / 400.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.3158, allocations: 4.938 kB / 400.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3158, allocations: 32.3 kB / 400.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3158, allocations: 3.938 kB / 400.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001505/0.316, allocations: 50.09 kB / 400.2 MB, free: 7.141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.316, allocations: 56.72 kB / 400.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.3161, allocations: 102.3 kB / 400.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.3161, allocations: 26.64 kB / 400.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.181e-05/0.3161, allocations: 85.33 kB / 400.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.3161, allocations: 11.5 kB / 400.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.3162, allocations: 18.64 kB / 400.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.3162, allocations: 317.3 kB / 400.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.3162, allocations: 12.64 kB / 400.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.3163, allocations: 17.09 kB / 400.8 MB, free: 6.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.3163, allocations: 32.88 kB / 400.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3163, allocations: 4.812 kB / 400.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.952e-05/0.3164, allocations: 57.81 kB / 400.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3164, allocations: 6.25 kB / 400.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3164, allocations: 5 kB / 400.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3164, allocations: 0 / 400.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.3165, allocations: 9.547 kB / 400.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.3165, allocations: 1.031 kB / 400.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.3165, allocations: 1.188 kB / 400.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.3165, allocations: 1.312 kB / 400.9 MB, free: 6.41 MB / 318.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 4.958e-05/0.3166, allocations: 109.1 kB / 401 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.3166, allocations: 9.797 kB / 401 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.3166, allocations: 13.44 kB / 401 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3166, allocations: 0 / 401 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3166, allocations: 1.25 kB / 401 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.3167, allocations: 0.75 kB / 401 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.942e-05/0.3167, allocations: 103.4 kB / 401.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3167, allocations: 1.312 kB / 401.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.3168, allocations: 6.609 kB / 401.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3168, allocations: 5.062 kB / 401.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3168, allocations: 0.7031 kB / 401.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3168, allocations: 9 kB / 401.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3168, allocations: 432 / 401.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.3169, allocations: 84.25 kB / 401.3 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.3169, allocations: 5.984 kB / 401.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3169, allocations: 1.672 kB / 401.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.806e-05/0.3169, allocations: 4.547 kB / 401.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.317, allocations: 2.25 kB / 401.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.317, allocations: 5.281 kB / 401.3 MB, free: 6.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.035e-05/0.317, allocations: 81.19 kB / 401.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.317, allocations: 0 / 401.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3173, allocations: 54.47 kB / 401.4 MB, free: 5.961 MB / 318.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.0002467/0.3175, allocations: 152.8 kB / 401.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.601e-05/0.3176, allocations: 21.78 kB / 401.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3176, allocations: 0 / 401.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/0.3176, allocations: 7.719 kB / 401.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.3178, allocations: 5.031 kB / 401.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.318, allocations: 138.6 kB / 401.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.3181, allocations: 62.23 kB / 401.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.954e-05/0.3182, allocations: 12.75 kB / 401.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.3182, allocations: 8.625 kB / 401.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3182, allocations: 1.5 kB / 401.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of Templates: time 0.004042/0.3222, allocations: 1.082 MB / 402.9 MB, free: 5.5 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.863616272807121]