Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 189.1 kB / 7.805 MB, free: 2.441 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.192/1.192, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009335/0.0009336, allocations: 96.33 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1629/0.1629, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.903e-06/7.003e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2448, allocations: 58.83 MB / 476.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.6131, allocations: 195.3 MB / 0.6561 GB, free: 138.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000172/0.6133, allocations: 67.72 kB / 0.6562 GB, free: 138.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.02214/0.6355, allocations: 10.39 MB / 0.6663 GB, free: 130.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.6355, allocations: 0 / 0.6663 GB, free: 130.5 MB / 474.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.0003132/0.6359, allocations: 403.2 kB / 0.6667 GB, free: 130.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.6359, allocations: 8.031 kB / 0.6667 GB, free: 130.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.6359, allocations: 0 / 0.6667 GB, free: 130.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.79e-05/0.636, allocations: 159.1 kB / 0.6669 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.636, allocations: 0 / 0.6669 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.636, allocations: 3.906 kB / 0.6669 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.667e-05/0.6361, allocations: 7.938 kB / 0.6669 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.099e-05/0.6361, allocations: 25.7 kB / 0.6669 GB, free: 129.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.6361, allocations: 0 / 0.6669 GB, free: 129.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.6361, allocations: 7.984 kB / 0.6669 GB, free: 129.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.6361, allocations: 0 / 0.6669 GB, free: 129.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.61e-05/0.6362, allocations: 130.2 kB / 0.667 GB, free: 129.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.52e-05/0.6363, allocations: 14.58 kB / 0.667 GB, free: 129.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.6363, allocations: 4.859 kB / 0.667 GB, free: 129.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.6363, allocations: 0 / 0.667 GB, free: 129.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.6363, allocations: 61.7 kB / 0.6671 GB, free: 129.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.6363, allocations: 4 kB / 0.6671 GB, free: 129.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.6365, allocations: 41.53 kB / 0.6671 GB, free: 129.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.6365, allocations: 77.11 kB / 0.6672 GB, free: 129.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.823e-05/0.6365, allocations: 85 kB / 0.6673 GB, free: 129.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.6365, allocations: 29.27 kB / 0.6673 GB, free: 129.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.163e-05/0.6365, allocations: 80.14 kB / 0.6674 GB, free: 129.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.6366, allocations: 0 / 0.6674 GB, free: 129.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.6366, allocations: 0 / 0.6674 GB, free: 129.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.6366, allocations: 322.8 kB / 0.6677 GB, free: 128.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-06/0.6366, allocations: 0 / 0.6677 GB, free: 128.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-06/0.6366, allocations: 3.938 kB / 0.6677 GB, free: 128.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.6367, allocations: 0 / 0.6677 GB, free: 128.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6367, allocations: 0 / 0.6677 GB, free: 128.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.362e-05/0.6367, allocations: 37.69 kB / 0.6678 GB, free: 128.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.6368, allocations: 7.906 kB / 0.6678 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.6368, allocations: 0 / 0.6678 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.6368, allocations: 3.938 kB / 0.6678 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.6368, allocations: 4.094 kB / 0.6678 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.6368, allocations: 0 / 0.6678 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.053e-05/0.6368, allocations: 0 / 0.6678 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.6368, allocations: 4 kB / 0.6678 GB, free: 128.8 MB / 474.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 5.396e-05/0.6369, allocations: 134.9 kB / 0.6679 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-06/0.6369, allocations: 0 / 0.6679 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.6369, allocations: 3 kB / 0.6679 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6369, allocations: 7.906 kB / 0.6679 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6369, allocations: 0 / 0.6679 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6369, allocations: 7.984 kB / 0.6679 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.091e-05/0.637, allocations: 122.2 kB / 0.668 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.637, allocations: 0 / 0.668 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.637, allocations: 0 / 0.668 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.637, allocations: 0 / 0.668 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.637, allocations: 4 kB / 0.668 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.637, allocations: 0 / 0.668 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.637, allocations: 0 / 0.668 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.531e-05/0.6371, allocations: 75.23 kB / 0.6681 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.6371, allocations: 77.11 kB / 0.6682 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.6371, allocations: 0 / 0.6682 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-06/0.6371, allocations: 3.938 kB / 0.6682 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.6372, allocations: 3.984 kB / 0.6682 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.6372, allocations: 0 / 0.6682 GB, free: 128.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.216e-05/0.6372, allocations: 79.28 kB / 0.6683 GB, free: 128.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.6375, allocations: 87.17 kB / 0.6684 GB, free: 128.2 MB / 474.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.0004143/0.6379, allocations: 211.8 kB / 0.6686 GB, free: 128 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.568e-05/0.638, allocations: 29.7 kB / 0.6686 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.638, allocations: 0 / 0.6686 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.638, allocations: 29.7 kB / 0.6686 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.19e-05/0.6381, allocations: 4.125 kB / 0.6686 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001123/0.6382, allocations: 51.5 kB / 0.6687 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.6384, allocations: 0.6841 MB / 0.6693 GB, free: 127.1 MB / 474.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6384, allocations: 3.938 kB / 0.6693 GB, free: 127.1 MB / 474.7 MB Notification: Performance of Templates: time 0.003597/0.642, allocations: 1.84 MB / 0.6711 GB, free: 125.3 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches