Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [: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.001502/0.001502, allocations: 174.8 kB / 8.518 MB, free: 1.828 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.425/1.425, allocations: 221.4 MB / 230.3 MB, free: 7.695 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.0008579/0.0008579, allocations: 92.72 kB / 281.2 MB, free: 5.434 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.1889/0.1889, allocations: 44.15 MB / 376.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.424e-06, allocations: 224 / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 61.92 MB / 0.4941 GB, free: 1.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2948/0.4075, allocations: 88.56 MB / 0.5806 GB, free: 8.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4078, allocations: 71.95 kB / 0.5807 GB, free: 8.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02002/0.4278, allocations: 7.234 MB / 0.5877 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.4279, allocations: 4 kB / 0.5877 GB, free: 0.9688 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000533/0.4284, allocations: 461.9 kB / 0.5882 GB, free: 484 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.4285, allocations: 15.91 kB / 0.5882 GB, free: 468 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.4285, allocations: 19.8 kB / 0.5882 GB, free: 448 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.4289, allocations: 250.2 kB / 0.5884 GB, free: 156 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4289, allocations: 0 / 0.5884 GB, free: 156 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.4289, allocations: 7.938 kB / 0.5884 GB, free: 148 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.628e-05/0.429, allocations: 31.92 kB / 0.5885 GB, free: 116 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.4292, allocations: 89.09 kB / 0.5886 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4292, allocations: 3.906 kB / 0.5886 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4292, allocations: 4 kB / 0.5886 GB, free: 0 / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4293, allocations: 48 / 0.5886 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.4295, allocations: 195.1 kB / 0.5888 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.4296, allocations: 89.3 kB / 0.5888 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.4297, allocations: 37.8 kB / 0.5889 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.4297, allocations: 4 kB / 0.5889 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.4299, allocations: 104.9 kB / 0.589 GB, free: 15.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.4299, allocations: 0 / 0.589 GB, free: 15.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002308/0.4301, allocations: 105.5 kB / 0.5891 GB, free: 15.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.4302, allocations: 128.5 kB / 0.5892 GB, free: 15.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.4304, allocations: 195 kB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.4304, allocations: 29.7 kB / 0.5894 GB, free: 14.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.4305, allocations: 92.12 kB / 0.5895 GB, free: 14.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.4305, allocations: 31.64 kB / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.4305, allocations: 3.938 kB / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4306, allocations: 330.7 kB / 0.5899 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.991e-05/0.4307, allocations: 20 kB / 0.5899 GB, free: 14.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.4307, allocations: 69.2 kB / 0.5899 GB, free: 14.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.021e-05/0.4308, allocations: 31.98 kB / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4308, allocations: 0 / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001879/0.431, allocations: 121.4 kB / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.431, allocations: 6.344 kB / 0.5901 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.431, allocations: 0 / 0.5901 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4311, allocations: 8.031 kB / 0.5901 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4312, allocations: 27.92 kB / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.4312, allocations: 0 / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.4313, allocations: 15.89 kB / 0.5901 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.4313, allocations: 8 kB / 0.5901 GB, free: 14.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.432e-05/0.4314, allocations: 108.9 kB / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.4314, allocations: 19.75 kB / 0.5903 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.4317, allocations: 134.6 kB / 0.5904 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4317, allocations: 4 kB / 0.5904 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4317, allocations: 3.938 kB / 0.5904 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4317, allocations: 0 / 0.5904 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.4319, allocations: 202 kB / 0.5906 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4319, allocations: 0 / 0.5906 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.4319, allocations: 16.19 kB / 0.5906 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4319, allocations: 0 / 0.5906 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.432, allocations: 7.984 kB / 0.5906 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.432, allocations: 4 kB / 0.5906 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.432, allocations: 0 / 0.5906 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001995/0.4322, allocations: 163.4 kB / 0.5908 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.4323, allocations: 100.9 kB / 0.5909 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.4323, allocations: 4 kB / 0.5909 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.4324, allocations: 4 kB / 0.5909 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.4324, allocations: 11.98 kB / 0.5909 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4324, allocations: 8 kB / 0.5909 GB, free: 13.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001492/0.4326, allocations: 157.5 kB / 0.5911 GB, free: 13.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.4329, allocations: 47.86 kB / 0.5911 GB, free: 13.14 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006691/0.4335, allocations: 360.7 kB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.4337, allocations: 75.92 kB / 0.5915 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4337, allocations: 0 / 0.5915 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.177e-05/0.4338, allocations: 43.92 kB / 0.5916 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.4341, allocations: 44.47 kB / 0.5916 GB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.4345, allocations: 184.4 kB / 0.5918 GB, free: 12.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.4348, allocations: 0.751 MB / 0.5925 GB, free: 11.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4349, allocations: 0 / 0.5925 GB, free: 11.71 MB / 410.7 MB Notification: Performance of Templates: time 0.005156/0.44, allocations: 2.431 MB / 0.5949 GB, free: 9.301 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches