Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") [: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.001682/0.001682, allocations: 175.1 kB / 8.52 MB, free: 1.844 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.361/1.361, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0008499/0.0008499, allocations: 81.69 kB / 281.2 MB, free: 5.449 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.1749/0.1749, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.959e-06/9.969e-06, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 61.91 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3301/0.4418, allocations: 88.76 MB / 0.5808 GB, free: 8.098 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4422, allocations: 75.95 kB / 0.5808 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02153/0.4637, allocations: 7.596 MB / 0.5883 GB, free: 452 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.4638, allocations: 3.938 kB / 0.5883 GB, free: 448 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.0005887/0.4644, allocations: 426.1 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4644, allocations: 13.22 kB / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.4645, allocations: 7.906 kB / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.4648, allocations: 202.9 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4648, allocations: 0 / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.4648, allocations: 4 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.917e-05/0.465, allocations: 27.92 kB / 0.5889 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.4651, allocations: 63.3 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4651, allocations: 4 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.4651, allocations: 0 / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.4652, allocations: 4 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.4656, allocations: 261.4 kB / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.4657, allocations: 50.62 kB / 0.5893 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.4657, allocations: 20.98 kB / 0.5893 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.4657, allocations: 7.984 kB / 0.5893 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.371e-05/0.4658, allocations: 63.34 kB / 0.5894 GB, free: 15.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4659, allocations: 0 / 0.5894 GB, free: 15.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004608/0.4663, allocations: 133.3 kB / 0.5895 GB, free: 15.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/0.4664, allocations: 77.11 kB / 0.5896 GB, free: 14.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.4666, allocations: 151.2 kB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.4666, allocations: 25.7 kB / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.4667, allocations: 92.14 kB / 0.5898 GB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.4667, allocations: 27.64 kB / 0.5899 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.4668, allocations: 0 / 0.5899 GB, free: 14.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4669, allocations: 318.8 kB / 0.5902 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.4669, allocations: 16 kB / 0.5902 GB, free: 14.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.467, allocations: 38.52 kB / 0.5902 GB, free: 14.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.467, allocations: 28.02 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4671, allocations: 0 / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001524/0.4672, allocations: 89.53 kB / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4672, allocations: 8 kB / 0.5903 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4672, allocations: 3.984 kB / 0.5903 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.4673, allocations: 0 / 0.5903 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.4674, allocations: 15.91 kB / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4674, allocations: 4 kB / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.4674, allocations: 0 / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.4675, allocations: 8.016 kB / 0.5904 GB, free: 14.07 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 9.237e-05/0.4676, allocations: 112.9 kB / 0.5905 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.4676, allocations: 7.906 kB / 0.5905 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.4678, allocations: 102 kB / 0.5906 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4678, allocations: 0 / 0.5906 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.4678, allocations: 0 / 0.5906 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.4678, allocations: 3.984 kB / 0.5906 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.4682, allocations: 363.9 kB / 0.5909 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4683, allocations: 0 / 0.5909 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.4683, allocations: 11.94 kB / 0.5909 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4683, allocations: 0 / 0.5909 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.4683, allocations: 4 kB / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4683, allocations: 0 / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.4684, allocations: 7.969 kB / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002274/0.4686, allocations: 205.9 kB / 0.5911 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.4687, allocations: 96.94 kB / 0.5912 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.4687, allocations: 0 / 0.5912 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.4688, allocations: 4 kB / 0.5912 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.4688, allocations: 7.891 kB / 0.5912 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4689, allocations: 4.375 kB / 0.5913 GB, free: 13.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001041/0.469, allocations: 121.8 kB / 0.5914 GB, free: 12.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.4693, allocations: 35.92 kB / 0.5914 GB, free: 12.9 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.0008967/0.4702, allocations: 402.1 kB / 0.5918 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.4703, allocations: 47.98 kB / 0.5918 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4703, allocations: 0 / 0.5918 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.604e-05/0.4704, allocations: 31.94 kB / 0.5919 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.4707, allocations: 19.98 kB / 0.5919 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.4711, allocations: 132.8 kB / 0.592 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.4715, allocations: 0.7231 MB / 0.5927 GB, free: 11.58 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4715, allocations: 0 / 0.5927 GB, free: 11.58 MB / 410.7 MB Notification: Performance of Templates: time 0.004783/0.4763, allocations: 1.836 MB / 0.5945 GB, free: 9.754 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches