Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") [: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.00134/0.00134, allocations: 178.8 kB / 8.52 MB, free: 1.82 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.382/1.382, allocations: 221.4 MB / 230.3 MB, free: 7.734 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.0009495/0.0009496, allocations: 95.3 kB / 281.2 MB, free: 5.473 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.1737/0.1737, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.062e-05/1.065e-05, allocations: 4.219 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 61.92 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3002/0.4269, allocations: 88.48 MB / 0.5805 GB, free: 8.426 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.4272, allocations: 75.95 kB / 0.5806 GB, free: 8.352 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0144/0.4416, allocations: 5.188 MB / 0.5857 GB, free: 3.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.4416, allocations: 0 / 0.5857 GB, free: 3.176 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003863/0.442, allocations: 390.1 kB / 0.586 GB, free: 2.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4421, allocations: 13.22 kB / 0.586 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.4421, allocations: 11.91 kB / 0.586 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.4424, allocations: 218.7 kB / 0.5863 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4424, allocations: 0 / 0.5863 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.4425, allocations: 4 kB / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.725e-05/0.4425, allocations: 23.98 kB / 0.5863 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.96e-05/0.4426, allocations: 49.67 kB / 0.5863 GB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.4427, allocations: 0 / 0.5863 GB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.4427, allocations: 7.844 kB / 0.5863 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4427, allocations: 3.984 kB / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.443, allocations: 269.5 kB / 0.5866 GB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.214e-05/0.4431, allocations: 50.69 kB / 0.5866 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.4431, allocations: 20.89 kB / 0.5867 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.4432, allocations: 4 kB / 0.5867 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.912e-05/0.4433, allocations: 59.34 kB / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4433, allocations: 0 / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003805/0.4436, allocations: 137.2 kB / 0.5869 GB, free: 1.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.4437, allocations: 55.41 kB / 0.5869 GB, free: 1.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.4438, allocations: 165.4 kB / 0.5871 GB, free: 1.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.4439, allocations: 25.7 kB / 0.5871 GB, free: 1.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.4439, allocations: 88.14 kB / 0.5872 GB, free: 1.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.444, allocations: 28.44 kB / 0.5872 GB, free: 1.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.444, allocations: 0 / 0.5872 GB, free: 1.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4441, allocations: 322.8 kB / 0.5875 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.4441, allocations: 16 kB / 0.5875 GB, free: 1.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.4442, allocations: 49.58 kB / 0.5876 GB, free: 1.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.4442, allocations: 16 kB / 0.5876 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.4442, allocations: 0 / 0.5876 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001475/0.4444, allocations: 93.48 kB / 0.5877 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.4444, allocations: 4 kB / 0.5877 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.4444, allocations: 0 / 0.5877 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.4444, allocations: 4 kB / 0.5877 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.4445, allocations: 15.94 kB / 0.5877 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.4445, allocations: 4.188 kB / 0.5877 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.4446, allocations: 11.92 kB / 0.5877 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.4446, allocations: 11.98 kB / 0.5877 GB, free: 0.8398 MB / 394.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 6.807e-05/0.4447, allocations: 107.4 kB / 0.5878 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.4447, allocations: 7.906 kB / 0.5878 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.4449, allocations: 106 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4449, allocations: 4 kB / 0.5879 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4449, allocations: 0 / 0.5879 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4449, allocations: 4 kB / 0.5879 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.4453, allocations: 367.8 kB / 0.5883 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4453, allocations: 0 / 0.5883 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.4453, allocations: 11.98 kB / 0.5883 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4454, allocations: 4 kB / 0.5883 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4454, allocations: 3.938 kB / 0.5883 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4454, allocations: 0 / 0.5883 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4454, allocations: 4 kB / 0.5883 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001817/0.4456, allocations: 206.1 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.4456, allocations: 96.92 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.4457, allocations: 3.984 kB / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.4458, allocations: 4 kB / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.4458, allocations: 0 / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.4458, allocations: 12.36 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001065/0.4459, allocations: 137 kB / 0.5888 GB, free: 15.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.4462, allocations: 27.98 kB / 0.5888 GB, free: 15.66 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.0006363/0.4468, allocations: 354.9 kB / 0.5891 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.447, allocations: 55.94 kB / 0.5892 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.447, allocations: 0 / 0.5892 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.447, allocations: 23.98 kB / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.4473, allocations: 23.98 kB / 0.5892 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.4476, allocations: 164.3 kB / 0.5894 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.448, allocations: 0.7427 MB / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.448, allocations: 0 / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of Templates: time 0.003845/0.4518, allocations: 1.619 MB / 0.5917 GB, free: 12.71 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches