Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") [: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.001363/0.001363, allocations: 183.1 kB / 8.52 MB, free: 1.859 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.293/1.293, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0009227/0.0009228, allocations: 89.62 kB / 281.2 MB, free: 5.523 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.1927/0.1927, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.897e-06/8.917e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 61.92 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4407, allocations: 87.47 MB / 0.5795 GB, free: 9.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.441, allocations: 70.31 kB / 0.5796 GB, free: 9.227 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01671/0.4577, allocations: 5.925 MB / 0.5854 GB, free: 3.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.4578, allocations: 4 kB / 0.5854 GB, free: 3.348 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.0004491/0.4582, allocations: 398.2 kB / 0.5857 GB, free: 2.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4583, allocations: 17.47 kB / 0.5858 GB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.4583, allocations: 7.906 kB / 0.5858 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.4586, allocations: 188.1 kB / 0.586 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.4586, allocations: 0 / 0.586 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.4586, allocations: 4 kB / 0.586 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.626e-05/0.4587, allocations: 15.94 kB / 0.586 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.4588, allocations: 55.31 kB / 0.586 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4588, allocations: 0 / 0.586 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.4589, allocations: 0 / 0.586 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4589, allocations: 4 kB / 0.586 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.4592, allocations: 253.4 kB / 0.5863 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.4594, allocations: 33.66 kB / 0.5863 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.4594, allocations: 8.859 kB / 0.5863 GB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.4595, allocations: 0 / 0.5863 GB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.4595, allocations: 34.56 kB / 0.5863 GB, free: 2.199 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.4595, allocations: 0 / 0.5863 GB, free: 2.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003705/0.4599, allocations: 93.56 kB / 0.5864 GB, free: 2.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.4599, allocations: 81.02 kB / 0.5865 GB, free: 2.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.4601, allocations: 122.1 kB / 0.5866 GB, free: 1.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.4601, allocations: 29.64 kB / 0.5867 GB, free: 1.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.4601, allocations: 88.14 kB / 0.5867 GB, free: 1.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.4602, allocations: 23.67 kB / 0.5868 GB, free: 1.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.4602, allocations: 0 / 0.5868 GB, free: 1.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4603, allocations: 318.8 kB / 0.5871 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.4603, allocations: 4 kB / 0.5871 GB, free: 1.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.4604, allocations: 21.72 kB / 0.5871 GB, free: 1.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.216e-05/0.4604, allocations: 12.17 kB / 0.5871 GB, free: 1.367 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.4604, allocations: 0 / 0.5871 GB, free: 1.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.12e-05/0.4605, allocations: 65.64 kB / 0.5872 GB, free: 1.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4605, allocations: 6.344 kB / 0.5872 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4605, allocations: 0 / 0.5872 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4606, allocations: 7.844 kB / 0.5872 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.4606, allocations: 15.98 kB / 0.5872 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4607, allocations: 3.938 kB / 0.5872 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.4607, allocations: 15.98 kB / 0.5872 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.4607, allocations: 0 / 0.5872 GB, free: 1.25 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 7.129e-05/0.4608, allocations: 101 kB / 0.5873 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.4609, allocations: 11.91 kB / 0.5873 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.461, allocations: 65.73 kB / 0.5874 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.461, allocations: 144 / 0.5874 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.461, allocations: 11.97 kB / 0.5874 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.461, allocations: 0 / 0.5874 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.4613, allocations: 307 kB / 0.5877 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.4613, allocations: 0 / 0.5877 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.4614, allocations: 15.98 kB / 0.5877 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4614, allocations: 0 / 0.5877 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.4614, allocations: 0 / 0.5877 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4614, allocations: 4 kB / 0.5877 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4614, allocations: 3.906 kB / 0.5877 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001224/0.4616, allocations: 155.5 kB / 0.5879 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.4616, allocations: 89.25 kB / 0.5879 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.4617, allocations: 0 / 0.5879 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.4617, allocations: 12 kB / 0.588 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.4618, allocations: 7.922 kB / 0.588 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.4618, allocations: 4 kB / 0.588 GB, free: 392 kB / 394.7 MB Notification: Performance of sort global known variables: time 6.693e-05/0.4619, allocations: 101.9 kB / 0.5881 GB, free: 292 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.4621, allocations: 31.94 kB / 0.5881 GB, free: 260 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: 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.000787/0.4629, allocations: 333.1 kB / 0.5884 GB, free: 4 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.4631, allocations: 28.05 kB / 0.5884 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4631, allocations: 0 / 0.5884 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.4631, allocations: 19.94 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.4634, allocations: 16.08 kB / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.4637, allocations: 95.81 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/0.4641, allocations: 0.7036 MB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4641, allocations: 8 kB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of Templates: time 0.004097/0.4682, allocations: 1.313 MB / 0.5905 GB, free: 13.77 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches