Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001106/0.001107, allocations: 183.8 kB / 8.519 MB, free: 1.809 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.357/1.357, allocations: 221.4 MB / 230.3 MB, free: 7.68 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.0009628/0.0009628, allocations: 84.73 kB / 281.2 MB, free: 5.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 44.14 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.844e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1444, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3942/0.5388, allocations: 86.86 MB / 0.5789 GB, free: 9.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.5391, allocations: 65.25 kB / 0.579 GB, free: 9.875 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02077/0.5598, allocations: 7.265 MB / 0.5861 GB, free: 2.621 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.5599, allocations: 3.938 kB / 0.5861 GB, free: 2.617 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.0004465/0.5604, allocations: 396.1 kB / 0.5864 GB, free: 2.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.5604, allocations: 11.97 kB / 0.5864 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.5605, allocations: 4 kB / 0.5865 GB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.428e-05/0.5606, allocations: 167 kB / 0.5866 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.5606, allocations: 4 kB / 0.5866 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.5606, allocations: 0 / 0.5866 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.475e-05/0.5606, allocations: 0 / 0.5866 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.018e-05/0.5607, allocations: 33.61 kB / 0.5866 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.5607, allocations: 0 / 0.5866 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.5607, allocations: 0 / 0.5866 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5608, allocations: 4 kB / 0.5866 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.5609, allocations: 122.2 kB / 0.5868 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.772e-05/0.5609, allocations: 22.56 kB / 0.5868 GB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.561, allocations: 9.516 kB / 0.5868 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.561, allocations: 7.875 kB / 0.5868 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.561, allocations: 56.27 kB / 0.5869 GB, free: 1.637 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.561, allocations: 4 kB / 0.5869 GB, free: 1.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000166/0.5612, allocations: 29.7 kB / 0.5869 GB, free: 1.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.5612, allocations: 77.11 kB / 0.587 GB, free: 1.504 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.072e-05/0.5613, allocations: 85 kB / 0.587 GB, free: 1.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.5613, allocations: 25.7 kB / 0.5871 GB, free: 1.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.5613, allocations: 84.14 kB / 0.5871 GB, free: 1.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.5614, allocations: 3.906 kB / 0.5872 GB, free: 1.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.5614, allocations: 0 / 0.5872 GB, free: 1.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5615, allocations: 318.8 kB / 0.5875 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.5615, allocations: 4.031 kB / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.5615, allocations: 0 / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.5616, allocations: 4 kB / 0.5875 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5616, allocations: 0 / 0.5875 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.13e-05/0.5616, allocations: 33.64 kB / 0.5875 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5617, allocations: 4 kB / 0.5875 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5617, allocations: 0 / 0.5875 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5617, allocations: 4.844 kB / 0.5875 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.5617, allocations: 0 / 0.5875 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.5617, allocations: 8 kB / 0.5875 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.5617, allocations: 3.984 kB / 0.5875 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5617, allocations: 0 / 0.5875 GB, free: 0.9062 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 7.966e-05/0.5618, allocations: 126.7 kB / 0.5876 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-06/0.5618, allocations: 4 kB / 0.5876 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.76e-05/0.5619, allocations: 6.953 kB / 0.5876 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5619, allocations: 0 / 0.5876 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5619, allocations: 3.938 kB / 0.5877 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5619, allocations: 0 / 0.5877 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.46e-05/0.562, allocations: 134.1 kB / 0.5878 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.562, allocations: 4 kB / 0.5878 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.562, allocations: 0 / 0.5878 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.562, allocations: 0 / 0.5878 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.562, allocations: 0 / 0.5878 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.562, allocations: 0 / 0.5878 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.562, allocations: 0 / 0.5878 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.363e-05/0.5621, allocations: 68.92 kB / 0.5878 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.5622, allocations: 85.12 kB / 0.5879 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.5622, allocations: 4 kB / 0.5879 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.06e-05/0.5622, allocations: 4 kB / 0.5879 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.5622, allocations: 0 / 0.5879 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.5622, allocations: 0 / 0.5879 GB, free: 396 kB / 394.7 MB Notification: Performance of sort global known variables: time 2.669e-05/0.5623, allocations: 75.28 kB / 0.588 GB, free: 320 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.5627, allocations: 83.92 kB / 0.5881 GB, free: 236 kB / 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.000495/0.5632, allocations: 209.9 kB / 0.5883 GB, free: 24 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.5633, allocations: 29.7 kB / 0.5883 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5633, allocations: 3.938 kB / 0.5883 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.232e-05/0.5633, allocations: 29.7 kB / 0.5884 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.904e-05/0.5634, allocations: 18.08 kB / 0.5884 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001352/0.5636, allocations: 40.08 kB / 0.5884 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.5638, allocations: 0.6841 MB / 0.5891 GB, free: 15.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5638, allocations: 0 / 0.5891 GB, free: 15.16 MB / 410.7 MB Notification: Performance of Templates: time 0.004228/0.5681, allocations: 1.783 MB / 0.5908 GB, free: 13.38 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches