Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [: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.00108/0.00108, allocations: 183.6 kB / 8.52 MB, free: 1.852 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.303/1.303, allocations: 221.4 MB / 230.3 MB, free: 7.656 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.0008724/0.0008724, allocations: 82.41 kB / 281.2 MB, free: 5.48 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.1826/0.1826, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.632e-06/6.722e-06, allocations: 224 / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 61.9 MB / 0.4941 GB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3139/0.435, allocations: 87.25 MB / 0.5793 GB, free: 9.508 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.4353, allocations: 73.84 kB / 0.5794 GB, free: 9.473 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009505/0.4448, allocations: 3.328 MB / 0.5826 GB, free: 6.219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.4448, allocations: 11.83 kB / 0.5826 GB, free: 6.211 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003268/0.4452, allocations: 362.3 kB / 0.583 GB, free: 5.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4452, allocations: 17.47 kB / 0.583 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.4453, allocations: 7.906 kB / 0.583 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.4455, allocations: 190 kB / 0.5832 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4455, allocations: 4 kB / 0.5832 GB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.4455, allocations: 3.906 kB / 0.5832 GB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.164e-05/0.4456, allocations: 15.94 kB / 0.5832 GB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.061e-05/0.4457, allocations: 49.62 kB / 0.5832 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4457, allocations: 0 / 0.5832 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.4457, allocations: 0 / 0.5832 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4457, allocations: 0 / 0.5832 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.4461, allocations: 269.4 kB / 0.5835 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.4462, allocations: 29.7 kB / 0.5835 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.4463, allocations: 8.859 kB / 0.5835 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4463, allocations: 4 kB / 0.5835 GB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.4463, allocations: 38.5 kB / 0.5836 GB, free: 5.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.4463, allocations: 0 / 0.5836 GB, free: 5.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003812/0.4467, allocations: 105.5 kB / 0.5837 GB, free: 4.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.4468, allocations: 55.34 kB / 0.5837 GB, free: 4.914 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4469, allocations: 129.2 kB / 0.5839 GB, free: 4.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.4469, allocations: 25.7 kB / 0.5839 GB, free: 4.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.447, allocations: 92.14 kB / 0.584 GB, free: 4.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.447, allocations: 15.72 kB / 0.584 GB, free: 4.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.447, allocations: 0 / 0.584 GB, free: 4.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4471, allocations: 318.8 kB / 0.5843 GB, free: 4.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/0.4472, allocations: 12 kB / 0.5843 GB, free: 4.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.4472, allocations: 8 kB / 0.5843 GB, free: 4.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.4472, allocations: 19.92 kB / 0.5843 GB, free: 4.277 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.4472, allocations: 0 / 0.5843 GB, free: 4.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001085/0.4473, allocations: 69.73 kB / 0.5844 GB, free: 4.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.4474, allocations: 8 kB / 0.5844 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4474, allocations: 0 / 0.5844 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4474, allocations: 3.984 kB / 0.5844 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.822e-05/0.4475, allocations: 15.98 kB / 0.5844 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4475, allocations: 0 / 0.5844 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.4475, allocations: 8 kB / 0.5844 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.4476, allocations: 4 kB / 0.5844 GB, free: 4.164 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: 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 6.593e-05/0.4476, allocations: 108.9 kB / 0.5845 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.4477, allocations: 7.906 kB / 0.5845 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.4478, allocations: 77.8 kB / 0.5846 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4478, allocations: 4 kB / 0.5846 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4478, allocations: 0 / 0.5846 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4479, allocations: 0 / 0.5846 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.4482, allocations: 311.4 kB / 0.5849 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4482, allocations: 0 / 0.5849 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.4483, allocations: 20 kB / 0.5849 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4483, allocations: 3.984 kB / 0.5849 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.4483, allocations: 0 / 0.5849 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4483, allocations: 11.92 kB / 0.5849 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4483, allocations: 0 / 0.5849 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001401/0.4485, allocations: 163.5 kB / 0.5851 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.4485, allocations: 81.02 kB / 0.5852 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.4485, allocations: 11.89 kB / 0.5852 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.4486, allocations: 7.938 kB / 0.5852 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.4487, allocations: 0 / 0.5852 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.4487, allocations: 7.984 kB / 0.5852 GB, free: 3.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.441e-05/0.4487, allocations: 103.3 kB / 0.5853 GB, free: 3.168 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00025/0.449, allocations: 23.92 kB / 0.5853 GB, free: 3.145 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006355/0.4496, allocations: 300 kB / 0.5856 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.243e-05/0.4497, allocations: 31.98 kB / 0.5856 GB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4498, allocations: 3.938 kB / 0.5856 GB, free: 2.891 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.4498, allocations: 20 kB / 0.5857 GB, free: 2.871 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.45, allocations: 7.984 kB / 0.5857 GB, free: 2.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.4503, allocations: 115.6 kB / 0.5858 GB, free: 2.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.4506, allocations: 0.7075 MB / 0.5865 GB, free: 1.984 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4507, allocations: 0 / 0.5865 GB, free: 1.984 MB / 394.7 MB Notification: Performance of Templates: time 0.003189/0.4538, allocations: 1.096 MB / 0.5875 GB, free: 0.8945 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches