Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [: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.0009808/0.0009809, allocations: 179.6 kB / 8.521 MB, free: 1.84 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.333/1.333, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0009341/0.0009338, allocations: 90.09 kB / 281.2 MB, free: 5.457 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.1806/0.1806, allocations: 44.14 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.017e-06, allocations: 8.156 kB / 444.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 61.9 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2967/0.4132, allocations: 88.76 MB / 0.5808 GB, free: 8.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.4134, allocations: 71.95 kB / 0.5808 GB, free: 8.055 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02129/0.4347, allocations: 7.6 MB / 0.5883 GB, free: 484 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.4348, allocations: 7.938 kB / 0.5883 GB, free: 476 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000492/0.4353, allocations: 414.1 kB / 0.5887 GB, free: 16 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4353, allocations: 13.22 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.297e-05/0.4354, allocations: 15.98 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.4357, allocations: 210.7 kB / 0.5889 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4357, allocations: 0 / 0.5889 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.4358, allocations: 7.984 kB / 0.5889 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.146e-05/0.4358, allocations: 19.98 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.436, allocations: 71.3 kB / 0.589 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.436, allocations: 0 / 0.589 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.436, allocations: 0 / 0.589 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.436, allocations: 0 / 0.589 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.4363, allocations: 265.4 kB / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.161e-05/0.4364, allocations: 50.69 kB / 0.5893 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.4365, allocations: 20.98 kB / 0.5893 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.4365, allocations: 4 kB / 0.5893 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.26e-05/0.4366, allocations: 67.34 kB / 0.5894 GB, free: 15.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.4366, allocations: 0 / 0.5894 GB, free: 15.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000376/0.437, allocations: 129.3 kB / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.437, allocations: 77.11 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.4372, allocations: 147.2 kB / 0.5897 GB, free: 14.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4372, allocations: 29.7 kB / 0.5897 GB, free: 14.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.4372, allocations: 84.14 kB / 0.5898 GB, free: 14.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.4373, allocations: 27.64 kB / 0.5898 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.4373, allocations: 0 / 0.5898 GB, free: 14.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4374, allocations: 326.8 kB / 0.5902 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.4374, allocations: 12 kB / 0.5902 GB, free: 14.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.4375, allocations: 46.52 kB / 0.5902 GB, free: 14.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.4376, allocations: 19.97 kB / 0.5902 GB, free: 14.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4376, allocations: 0 / 0.5902 GB, free: 14.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001471/0.4377, allocations: 89.78 kB / 0.5903 GB, free: 14.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4377, allocations: 12.05 kB / 0.5903 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.4377, allocations: 3.938 kB / 0.5903 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.4378, allocations: 4 kB / 0.5903 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.4379, allocations: 19.84 kB / 0.5904 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4379, allocations: 0 / 0.5904 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.4379, allocations: 7.984 kB / 0.5904 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.4379, allocations: 4 kB / 0.5904 GB, free: 14.09 MB / 410.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.386e-05/0.438, allocations: 103.9 kB / 0.5905 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.4381, allocations: 11.91 kB / 0.5905 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.4383, allocations: 106 kB / 0.5906 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4383, allocations: 0 / 0.5906 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4383, allocations: 7.984 kB / 0.5906 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4383, allocations: 0 / 0.5906 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.4386, allocations: 355.8 kB / 0.5909 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4386, allocations: 0 / 0.5909 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.4387, allocations: 12 kB / 0.5909 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.4387, allocations: 4.031 kB / 0.5909 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.4387, allocations: 3.984 kB / 0.5909 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.4387, allocations: 4 kB / 0.591 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4387, allocations: 0 / 0.591 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001619/0.4389, allocations: 197.9 kB / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.439, allocations: 96.94 kB / 0.5912 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.439, allocations: 4 kB / 0.5912 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.4391, allocations: 7.984 kB / 0.5912 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.4391, allocations: 8.094 kB / 0.5913 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4391, allocations: 8 kB / 0.5913 GB, free: 13.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.036e-05/0.4392, allocations: 117.7 kB / 0.5914 GB, free: 12.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.4395, allocations: 43.92 kB / 0.5914 GB, free: 12.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007165/0.4402, allocations: 390.4 kB / 0.5918 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.4404, allocations: 63.92 kB / 0.5918 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4404, allocations: 0 / 0.5918 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.813e-05/0.4404, allocations: 24 kB / 0.5919 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.4407, allocations: 22.02 kB / 0.5919 GB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.441, allocations: 136.6 kB / 0.592 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/0.4415, allocations: 0.7232 MB / 0.5927 GB, free: 11.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4415, allocations: 0 / 0.5927 GB, free: 11.59 MB / 410.7 MB Notification: Performance of Templates: time 0.004481/0.446, allocations: 1.834 MB / 0.5945 GB, free: 9.766 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches