Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 223.6 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000774/0.0007737, allocations: 91.39 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 8 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2168, allocations: 47.58 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08596/0.3028, allocations: 75.31 MB / 451 MB, free: 5.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.3031, allocations: 67.97 kB / 451.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01004/0.3132, allocations: 3.569 MB / 454.7 MB, free: 1.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3132, allocations: 0 / 454.7 MB, free: 1.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.3132, allocations: 0 / 454.7 MB, free: 1.68 MB / 330.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.0003631/0.3136, allocations: 379.4 kB / 455 MB, free: 1.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3137, allocations: 8.031 kB / 455 MB, free: 1.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.3137, allocations: 12.78 kB / 455.1 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3138, allocations: 168.3 kB / 455.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3139, allocations: 4.375 kB / 455.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3139, allocations: 384 / 455.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.607e-05/0.314, allocations: 38.25 kB / 455.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.314, allocations: 4.125 kB / 455.3 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.314, allocations: 3.938 kB / 455.3 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.314, allocations: 0 / 455.3 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.314, allocations: 15.98 kB / 455.3 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.3142, allocations: 160 kB / 455.4 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.896e-05/0.3143, allocations: 34.52 kB / 455.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.3143, allocations: 8.859 kB / 455.5 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.3143, allocations: 4 kB / 455.5 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3144, allocations: 34.64 kB / 455.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.385e-06/0.3144, allocations: 7.984 kB / 455.5 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001383/0.3145, allocations: 53.53 kB / 455.6 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.3146, allocations: 55.34 kB / 455.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.3146, allocations: 101.9 kB / 455.7 MB, free: 428 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.3147, allocations: 25.7 kB / 455.8 MB, free: 396 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.3147, allocations: 80.14 kB / 455.8 MB, free: 312 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.3147, allocations: 11.89 kB / 455.9 MB, free: 300 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.3147, allocations: 0 / 455.9 MB, free: 300 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3149, allocations: 318.8 kB / 456.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.3149, allocations: 8 kB / 456.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.3149, allocations: 21.7 kB / 456.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.315, allocations: 21.72 kB / 456.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.315, allocations: 4 kB / 456.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001051/0.3151, allocations: 61.53 kB / 456.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3151, allocations: 4 kB / 456.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3151, allocations: 7.969 kB / 456.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.3152, allocations: 0 / 456.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.3152, allocations: 8 kB / 456.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3152, allocations: 0 / 456.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.3153, allocations: 4 kB / 456.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3153, allocations: 0 / 456.3 MB, free: 15.82 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/0.3153, allocations: 117.8 kB / 456.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.3154, allocations: 3.938 kB / 456.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.3154, allocations: 11.44 kB / 456.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3154, allocations: 4.125 kB / 456.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3154, allocations: 4 kB / 456.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3154, allocations: 4 kB / 456.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.3155, allocations: 153.7 kB / 456.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3155, allocations: 0 / 456.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.3156, allocations: 4 kB / 456.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3156, allocations: 4 kB / 456.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.3156, allocations: 3.938 kB / 456.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3156, allocations: 3.984 kB / 456.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3156, allocations: 3.938 kB / 456.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.3158, allocations: 84.97 kB / 456.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.3158, allocations: 81.05 kB / 456.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3158, allocations: 7.969 kB / 456.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.732e-05/0.3158, allocations: 0 / 456.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.3159, allocations: 3.984 kB / 456.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.3159, allocations: 480 / 456.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.993e-05/0.3159, allocations: 83.28 kB / 456.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3159, allocations: 0 / 456.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.3162, allocations: 75.92 kB / 456.9 MB, free: 15.08 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002537/0.3164, allocations: 167.2 kB / 457.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.463e-05/0.3165, allocations: 19.97 kB / 457.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3165, allocations: 4 kB / 457.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.509e-05/0.3166, allocations: 11.94 kB / 457.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.3167, allocations: 0 / 457.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.3169, allocations: 165.1 kB / 457.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.3172, allocations: 0.6809 MB / 458 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.3172, allocations: 7.438 kB / 458 MB, free: 13.96 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3172, allocations: 0 / 458 MB, free: 13.96 MB / 346.7 MB Notification: Performance of Templates: time 0.002379/0.3196, allocations: 1.122 MB / 459.1 MB, free: 12.84 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","../files/Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches