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") [: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 3.2.3+maint.om/package.mo): time 0.002452/0.002452, allocations: 176.5 kB / 8.15 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.2 MB / 213.7 MB, free: 13.88 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.001254/0.001253, allocations: 88.14 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.785e-06, allocations: 0 / 314.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2475, allocations: 47.56 MB / 361.8 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.3703, allocations: 74.47 MB / 436.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.3706, allocations: 64.47 kB / 436.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01742/0.388, allocations: 3.22 MB / 439.6 MB, free: 8.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3881, allocations: 0 / 439.6 MB, free: 8.359 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.0004775/0.3886, allocations: 374.2 kB / 439.9 MB, free: 7.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3887, allocations: 12.02 kB / 440 MB, free: 7.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.3887, allocations: 6.594 kB / 440 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.3889, allocations: 171 kB / 440.1 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3889, allocations: 0 / 440.1 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.389, allocations: 4 kB / 440.1 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.791e-05/0.389, allocations: 8 kB / 440.1 MB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.473e-05/0.3891, allocations: 37.59 kB / 440.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3891, allocations: 0 / 440.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3891, allocations: 4 kB / 440.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3892, allocations: 0 / 440.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.3894, allocations: 141.5 kB / 440.3 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.123e-05/0.3894, allocations: 21.72 kB / 440.3 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.3895, allocations: 12.84 kB / 440.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.3895, allocations: 7.938 kB / 440.4 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3896, allocations: 30.56 kB / 440.4 MB, free: 7.406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.3896, allocations: 4 kB / 440.4 MB, free: 7.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001488/0.3897, allocations: 45.73 kB / 440.4 MB, free: 7.352 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.3898, allocations: 51.41 kB / 440.5 MB, free: 7.289 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.3899, allocations: 92.98 kB / 440.6 MB, free: 7.191 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3899, allocations: 29.7 kB / 440.6 MB, free: 7.156 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.39, allocations: 150.6 kB / 440.8 MB, free: 7.008 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.39, allocations: 11.81 kB / 440.8 MB, free: 6.996 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.39, allocations: 0 / 440.8 MB, free: 6.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3902, allocations: 314.8 kB / 441.1 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.3902, allocations: 9.938 kB / 441.1 MB, free: 6.672 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.3902, allocations: 13.72 kB / 441.1 MB, free: 6.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.422e-05/0.3903, allocations: 19.92 kB / 441.1 MB, free: 6.633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3903, allocations: 0 / 441.1 MB, free: 6.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001108/0.3904, allocations: 45.69 kB / 441.2 MB, free: 6.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3905, allocations: 8 kB / 441.2 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3905, allocations: 0 / 441.2 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3905, allocations: 4.031 kB / 441.2 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3906, allocations: 8 kB / 441.2 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3906, allocations: 3.938 kB / 441.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.3907, allocations: 3.906 kB / 441.2 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3907, allocations: 4 kB / 441.2 MB, free: 6.551 MB / 330.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 4.532e-05/0.3907, allocations: 29.64 kB / 441.2 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.3908, allocations: 0 / 441.2 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.3908, allocations: 7.594 kB / 441.2 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3908, allocations: 7.984 kB / 441.2 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3908, allocations: 6.125 kB / 441.2 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3909, allocations: 0 / 441.2 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.391, allocations: 130.2 kB / 441.4 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.391, allocations: 0 / 441.4 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.3911, allocations: 11.98 kB / 441.4 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3911, allocations: 0 / 441.4 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3912, allocations: 2.156 kB / 441.4 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3912, allocations: 3.906 kB / 441.4 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3912, allocations: 0 / 441.4 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001536/0.3913, allocations: 73.12 kB / 441.5 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.3914, allocations: 88.95 kB / 441.6 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.3915, allocations: 0 / 441.6 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.3915, allocations: 8.031 kB / 441.6 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.3916, allocations: 0 / 441.6 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3916, allocations: 2.062 kB / 441.6 MB, free: 6.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.784e-05/0.3916, allocations: 79.61 kB / 441.6 MB, free: 6.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004197/0.3921, allocations: 71.86 kB / 441.7 MB, free: 5.961 MB / 330.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.0003922/0.3925, allocations: 171.2 kB / 441.9 MB, free: 5.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.3926, allocations: 24.11 kB / 441.9 MB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3926, allocations: 0 / 441.9 MB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.239e-05/0.3926, allocations: 7.938 kB / 441.9 MB, free: 5.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.3928, allocations: 9 kB / 441.9 MB, free: 5.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.3931, allocations: 111.1 kB / 442 MB, free: 5.609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.3934, allocations: 0.6915 MB / 442.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.3934, allocations: 4.062 kB / 442.7 MB, free: 4.891 MB / 330.7 MB Notification: Performance of Templates: time 0.004202/0.3976, allocations: 1.246 MB / 444 MB, free: 3.648 MB / 330.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