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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 180.5 kB / 8.132 MB, free: 2.168 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 221.4 MB / 229.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008923/0.0008923, allocations: 96.81 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.682e-06/6.712e-06, allocations: 4 kB / 336.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1916, allocations: 50.4 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07938/0.2711, allocations: 75.31 MB / 462.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.2714, allocations: 68.5 kB / 462.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0107/0.2821, allocations: 3.276 MB / 465.6 MB, free: 8.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.2822, allocations: 0 / 465.6 MB, free: 8.203 MB / 346.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.000416/0.2826, allocations: 362.3 kB / 465.9 MB, free: 7.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2827, allocations: 12.02 kB / 465.9 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.2827, allocations: 13.75 kB / 465.9 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.2829, allocations: 167 kB / 466.1 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2829, allocations: 0 / 466.1 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.283, allocations: 4 kB / 466.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.867e-05/0.283, allocations: 4 kB / 466.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.705e-05/0.2831, allocations: 33.69 kB / 466.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2831, allocations: 3.906 kB / 466.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.2831, allocations: 0 / 466.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2832, allocations: 0 / 466.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.2833, allocations: 143.5 kB / 466.3 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.372e-05/0.2834, allocations: 33.7 kB / 466.3 MB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.2834, allocations: 5.891 kB / 466.3 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.2834, allocations: 4 kB / 466.3 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.2835, allocations: 34.56 kB / 466.4 MB, free: 7.258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.2835, allocations: 0 / 466.4 MB, free: 7.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001379/0.2836, allocations: 41.73 kB / 466.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.2837, allocations: 51.41 kB / 466.5 MB, free: 7.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.2838, allocations: 101 kB / 466.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.2838, allocations: 33.64 kB / 466.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.2838, allocations: 84.08 kB / 466.7 MB, free: 6.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.2839, allocations: 7.906 kB / 466.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.2839, allocations: 0 / 466.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.284, allocations: 320.7 kB / 467 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.284, allocations: 0 / 467 MB, free: 6.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.284, allocations: 25.7 kB / 467 MB, free: 6.559 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.2841, allocations: 12 kB / 467 MB, free: 6.547 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2841, allocations: 0 / 467 MB, free: 6.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.352e-05/0.2842, allocations: 45.69 kB / 467.1 MB, free: 6.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.2842, allocations: 7.938 kB / 467.1 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2842, allocations: 0 / 467.1 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.2842, allocations: 0 / 467.1 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.2843, allocations: 11.91 kB / 467.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2843, allocations: 0 / 467.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.2843, allocations: 0.9375 kB / 467.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2843, allocations: 12.03 kB / 467.1 MB, free: 6.465 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 () * 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 5.969e-05/0.2844, allocations: 101 kB / 467.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.2844, allocations: 7.906 kB / 467.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.2844, allocations: 7.672 kB / 467.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2844, allocations: 0 / 467.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2844, allocations: 0 / 467.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2845, allocations: 0 / 467.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.984e-05/0.2845, allocations: 134.2 kB / 467.3 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2846, allocations: 1.25 kB / 467.3 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.2846, allocations: 12.56 kB / 467.4 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2846, allocations: 3.906 kB / 467.4 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2846, allocations: 0 / 467.4 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2847, allocations: 0 / 467.4 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2847, allocations: 0 / 467.4 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000104/0.2848, allocations: 78.22 kB / 467.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.2848, allocations: 90.02 kB / 467.5 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2848, allocations: 0.5 kB / 467.5 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.2849, allocations: 4.391 kB / 467.5 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.2849, allocations: 0 / 467.5 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.2849, allocations: 0 / 467.5 MB, free: 5.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.869e-05/0.2849, allocations: 87.27 kB / 467.6 MB, free: 5.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.2852, allocations: 75.7 kB / 467.7 MB, free: 5.797 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 () * 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.0002991/0.2855, allocations: 171.1 kB / 467.9 MB, free: 5.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.303e-05/0.2856, allocations: 15.94 kB / 467.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2856, allocations: 0 / 467.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.2856, allocations: 20 kB / 467.9 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.2857, allocations: 1.25 kB / 467.9 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.286, allocations: 80.47 kB / 468 MB, free: 5.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.2863, allocations: 0.6915 MB / 468.7 MB, free: 4.77 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2863, allocations: 0 / 468.7 MB, free: 4.77 MB / 346.7 MB Notification: Performance of Templates: time 0.002975/0.2893, allocations: 1.059 MB / 469.7 MB, free: 3.715 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) 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","../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches