Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001954/0.001953, allocations: 195.4 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008707/0.0008707, allocations: 90.61 kB / 286.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.424e-06, allocations: 0 / 343.1 MB, free: 8.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1218, allocations: 51.48 MB / 394.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2977/0.4196, allocations: 76.12 MB / 470.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4198, allocations: 65.98 kB / 470.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.009782/0.4296, allocations: 3.371 MB / 474.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.4297, allocations: 4 kB / 474.2 MB, free: 13.25 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.0002669/0.43, allocations: 368.8 kB / 474.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.43, allocations: 12.03 kB / 474.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.43, allocations: 0 / 474.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.4302, allocations: 173.2 kB / 474.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.4302, allocations: 0 / 474.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.4302, allocations: 0 / 474.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.86e-05/0.4303, allocations: 7.812 kB / 474.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.558e-05/0.4304, allocations: 36.89 kB / 474.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4304, allocations: 4 kB / 474.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.4304, allocations: 0 / 474.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4304, allocations: 4 kB / 474.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.4305, allocations: 133.3 kB / 474.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.869e-05/0.4306, allocations: 21.59 kB / 474.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.4306, allocations: 12.19 kB / 474.9 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.4306, allocations: 3.938 kB / 474.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.4307, allocations: 38.5 kB / 475 MB, free: 12.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.4307, allocations: 0 / 475 MB, free: 12.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.000122/0.4308, allocations: 48.7 kB / 475 MB, free: 12.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.4308, allocations: 51.41 kB / 475.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.4309, allocations: 89 kB / 475.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.4309, allocations: 25.7 kB / 475.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.545e-05/0.4309, allocations: 84.02 kB / 475.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.431, allocations: 19.73 kB / 475.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.431, allocations: 0 / 475.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.431, allocations: 318.8 kB / 475.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.431, allocations: 4 kB / 475.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.4311, allocations: 17.47 kB / 475.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.01e-05/0.4311, allocations: 11.36 kB / 475.6 MB, free: 11.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4311, allocations: 0 / 475.6 MB, free: 11.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.446e-05/0.4312, allocations: 48.88 kB / 475.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4312, allocations: 7.281 kB / 475.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4312, allocations: 8.031 kB / 475.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4312, allocations: 4.188 kB / 475.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.4313, allocations: 8 kB / 475.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.4313, allocations: 0 / 475.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.4313, allocations: 0 / 475.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.4313, allocations: 3.938 kB / 475.7 MB, free: 11.59 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 4.894e-05/0.4314, allocations: 108.3 kB / 475.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.4314, allocations: 7.891 kB / 475.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.4314, allocations: 7.438 kB / 475.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.4315, allocations: 4 kB / 475.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4315, allocations: 4 kB / 475.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4315, allocations: 0 / 475.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.284e-05/0.4315, allocations: 133.4 kB / 476 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4315, allocations: 3.906 kB / 476 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/0.4316, allocations: 10.84 kB / 476 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4316, allocations: 4 kB / 476 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.4316, allocations: 0 / 476 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4316, allocations: 0 / 476 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4317, allocations: 0 / 476 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.875e-05/0.4318, allocations: 80.12 kB / 476.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.4318, allocations: 81.05 kB / 476.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.4318, allocations: 3.234 kB / 476.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.4318, allocations: 0 / 476.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.4319, allocations: 4 kB / 476.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.4319, allocations: 3.906 kB / 476.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-05/0.4319, allocations: 82.16 kB / 476.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.4322, allocations: 74.5 kB / 476.3 MB, free: 10.95 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.0002601/0.4325, allocations: 181.8 kB / 476.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.054e-05/0.4326, allocations: 18.66 kB / 476.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4326, allocations: 0 / 476.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.4326, allocations: 7.938 kB / 476.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.4327, allocations: 5.25 kB / 476.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.4329, allocations: 77.62 kB / 476.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.4331, allocations: 0.6911 MB / 477.3 MB, free: 9.949 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4331, allocations: 0 / 477.3 MB, free: 9.949 MB / 346.7 MB Notification: Performance of Templates: time 0.003057/0.4361, allocations: 1.095 MB / 478.4 MB, free: 9.332 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches