Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") [: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.001599/0.001599, allocations: 192.1 kB / 8.534 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.423/1.423, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 87.47 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2607/0.2607, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.544e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1462, allocations: 63.25 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.557, allocations: 87.92 MB / 0.5896 GB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.5573, allocations: 61.97 kB / 0.5897 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02026/0.5776, allocations: 7.335 MB / 0.5968 GB, free: 9.062 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.5777, allocations: 0 / 0.5968 GB, free: 9.062 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004656/0.5781, allocations: 395.2 kB / 0.5972 GB, free: 8.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5782, allocations: 16.03 kB / 0.5972 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.5782, allocations: 0 / 0.5972 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.5784, allocations: 159.1 kB / 0.5974 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.5784, allocations: 0 / 0.5974 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.5784, allocations: 0 / 0.5974 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.721e-05/0.5785, allocations: 7.938 kB / 0.5974 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.926e-05/0.5785, allocations: 33.59 kB / 0.5974 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5785, allocations: 0 / 0.5974 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.5785, allocations: 0 / 0.5974 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5786, allocations: 0 / 0.5974 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.5787, allocations: 130.3 kB / 0.5975 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.5788, allocations: 22.52 kB / 0.5976 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.5788, allocations: 4.859 kB / 0.5976 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.5788, allocations: 0 / 0.5976 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.5788, allocations: 60.33 kB / 0.5976 GB, free: 8.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.5789, allocations: 0 / 0.5976 GB, free: 8.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001862/0.579, allocations: 37.69 kB / 0.5977 GB, free: 8.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.5791, allocations: 81.02 kB / 0.5977 GB, free: 7.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.195e-05/0.5792, allocations: 88.56 kB / 0.5978 GB, free: 7.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5792, allocations: 25.7 kB / 0.5979 GB, free: 7.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.5793, allocations: 80.14 kB / 0.5979 GB, free: 7.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.5793, allocations: 0 / 0.5979 GB, free: 7.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.5793, allocations: 3.938 kB / 0.5979 GB, free: 7.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5794, allocations: 311.7 kB / 0.5982 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-06/0.5794, allocations: 4 kB / 0.5982 GB, free: 7.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.5794, allocations: 4.031 kB / 0.5982 GB, free: 7.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.907e-05/0.5795, allocations: 0 / 0.5982 GB, free: 7.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5795, allocations: 0 / 0.5982 GB, free: 7.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.659e-05/0.5796, allocations: 37.69 kB / 0.5983 GB, free: 7.387 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.5796, allocations: 4 kB / 0.5983 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5796, allocations: 0 / 0.5983 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5796, allocations: 0 / 0.5983 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.956e-06/0.5796, allocations: 7.844 kB / 0.5983 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.5796, allocations: 0 / 0.5983 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.5796, allocations: 4.094 kB / 0.5983 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.5797, allocations: 4 kB / 0.5983 GB, free: 7.367 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.136e-05/0.5798, allocations: 130 kB / 0.5984 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-06/0.5798, allocations: 0 / 0.5984 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.446e-05/0.5798, allocations: 6.953 kB / 0.5984 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.5798, allocations: 0 / 0.5984 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.5798, allocations: 7.984 kB / 0.5984 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5798, allocations: 7.844 kB / 0.5984 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.97e-05/0.5799, allocations: 126.2 kB / 0.5986 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.5799, allocations: 7.938 kB / 0.5986 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.5799, allocations: 0 / 0.5986 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5799, allocations: 0 / 0.5986 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.5799, allocations: 4 kB / 0.5986 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.58, allocations: 4 kB / 0.5986 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.58, allocations: 0 / 0.5986 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.571e-05/0.5801, allocations: 60.34 kB / 0.5986 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.5801, allocations: 81.11 kB / 0.5987 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.5801, allocations: 4.031 kB / 0.5987 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-06/0.5802, allocations: 0 / 0.5987 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.5802, allocations: 0 / 0.5987 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.5802, allocations: 0 / 0.5987 GB, free: 6.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.329e-05/0.5802, allocations: 79.28 kB / 0.5988 GB, free: 6.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.5806, allocations: 87.55 kB / 0.5989 GB, free: 6.691 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005105/0.5811, allocations: 216.3 kB / 0.5991 GB, free: 6.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.852e-05/0.5812, allocations: 32.83 kB / 0.5991 GB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5812, allocations: 0 / 0.5991 GB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.379e-05/0.5813, allocations: 33.69 kB / 0.5991 GB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.967e-05/0.5814, allocations: 3.906 kB / 0.5991 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001479/0.5815, allocations: 44.2 kB / 0.5992 GB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.5818, allocations: 0.6841 MB / 0.5999 GB, free: 5.625 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5818, allocations: 0 / 0.5999 GB, free: 5.625 MB / 394.7 MB Notification: Performance of Templates: time 0.004554/0.5864, allocations: 1.781 MB / 0.6016 GB, free: 3.855 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches