Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [: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.001422/0.001421, allocations: 178.7 kB / 8.519 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.346/1.346, allocations: 221.4 MB / 230.3 MB, free: 7.688 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.0009503/0.0009503, allocations: 85.86 kB / 281.2 MB, free: 5.504 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.1812/0.1812, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.169e-05/1.179e-05, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1517, allocations: 61.91 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2899/0.4417, allocations: 89.25 MB / 0.5813 GB, free: 7.617 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4419, allocations: 71.95 kB / 0.5813 GB, free: 7.547 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01868/0.4606, allocations: 6.727 MB / 0.5879 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.4607, allocations: 8 kB / 0.5879 GB, free: 0.8125 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006566/0.4614, allocations: 495.4 kB / 0.5884 GB, free: 284 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.4614, allocations: 11.97 kB / 0.5884 GB, free: 272 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.4615, allocations: 23.72 kB / 0.5884 GB, free: 248 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.462, allocations: 290.3 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.462, allocations: 0 / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.462, allocations: 7.984 kB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001119/0.4622, allocations: 35.98 kB / 0.5887 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.4623, allocations: 104.1 kB / 0.5888 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4623, allocations: 0.75 kB / 0.5888 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.4624, allocations: 0 / 0.5888 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4624, allocations: 0 / 0.5888 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.4629, allocations: 366.1 kB / 0.5892 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.463, allocations: 109.3 kB / 0.5893 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.4631, allocations: 41.72 kB / 0.5893 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.4631, allocations: 4.078 kB / 0.5893 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.4633, allocations: 105 kB / 0.5894 GB, free: 15.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.4633, allocations: 3.938 kB / 0.5894 GB, free: 15.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000264/0.4636, allocations: 117.4 kB / 0.5895 GB, free: 14.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.4636, allocations: 110.8 kB / 0.5896 GB, free: 14.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.464, allocations: 295.3 kB / 0.5899 GB, free: 14.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.464, allocations: 25.7 kB / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.4641, allocations: 100.1 kB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.4641, allocations: 35.7 kB / 0.5901 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.4641, allocations: 4 kB / 0.5901 GB, free: 14.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4643, allocations: 338.7 kB / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.4644, allocations: 31.94 kB / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.4645, allocations: 76.09 kB / 0.5905 GB, free: 13.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.705e-05/0.4645, allocations: 36.02 kB / 0.5905 GB, free: 13.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4645, allocations: 0 / 0.5905 GB, free: 13.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002148/0.4648, allocations: 137.5 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.4648, allocations: 5.094 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4648, allocations: 0 / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4648, allocations: 4 kB / 0.5907 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.4649, allocations: 27.92 kB / 0.5907 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.465, allocations: 4 kB / 0.5907 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.4651, allocations: 11.97 kB / 0.5907 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.4651, allocations: 4 kB / 0.5907 GB, free: 13.64 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001055/0.4652, allocations: 124.8 kB / 0.5908 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.4653, allocations: 19.72 kB / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.4655, allocations: 147.2 kB / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4655, allocations: 0 / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.4656, allocations: 4 kB / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4656, allocations: 3.938 kB / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.4658, allocations: 234.1 kB / 0.5912 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4658, allocations: 3.906 kB / 0.5912 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.4659, allocations: 19.94 kB / 0.5913 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4659, allocations: 0 / 0.5913 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4659, allocations: 0 / 0.5913 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4659, allocations: 7.984 kB / 0.5913 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4659, allocations: 0 / 0.5913 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002351/0.4662, allocations: 175.3 kB / 0.5914 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/0.4663, allocations: 112.8 kB / 0.5915 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.4663, allocations: 4 kB / 0.5915 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.4664, allocations: 8 kB / 0.5916 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.4665, allocations: 7.984 kB / 0.5916 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.4665, allocations: 12.11 kB / 0.5916 GB, free: 12.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002435/0.4667, allocations: 235.1 kB / 0.5918 GB, free: 12.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.467, allocations: 43.94 kB / 0.5918 GB, free: 12.41 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0008695/0.4679, allocations: 326.8 kB / 0.5922 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.4682, allocations: 87.92 kB / 0.5922 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4682, allocations: 0 / 0.5922 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.4683, allocations: 43.94 kB / 0.5923 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.4687, allocations: 63.62 kB / 0.5923 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.4693, allocations: 284.3 kB / 0.5926 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004061/0.4698, allocations: 0.7706 MB / 0.5934 GB, free: 10.87 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4698, allocations: 4 kB / 0.5934 GB, free: 10.86 MB / 410.7 MB Notification: Performance of Templates: time 0.006545/0.4763, allocations: 2.74 MB / 0.596 GB, free: 8.145 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches