Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") [: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.001465/0.001465, allocations: 187.1 kB / 8.524 MB, free: 1.84 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.284/1.284, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.0008512/0.0008512, allocations: 86.11 kB / 281.2 MB, free: 5.469 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.1843/0.1843, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.586e-06, allocations: 4 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1416, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.5044, allocations: 88.44 MB / 0.5805 GB, free: 8.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.5047, allocations: 71.97 kB / 0.5805 GB, free: 8.367 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02015/0.5249, allocations: 5.121 MB / 0.5855 GB, free: 3.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.5249, allocations: 0 / 0.5855 GB, free: 3.25 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.0005944/0.5256, allocations: 406 kB / 0.5859 GB, free: 2.809 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.5256, allocations: 13.22 kB / 0.5859 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.5257, allocations: 11.91 kB / 0.586 GB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.5262, allocations: 215.5 kB / 0.5862 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.5262, allocations: 3.984 kB / 0.5862 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.5262, allocations: 4 kB / 0.5862 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001079/0.5263, allocations: 23.92 kB / 0.5862 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.5265, allocations: 49.59 kB / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5265, allocations: 8 kB / 0.5862 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.5265, allocations: 3.984 kB / 0.5862 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5266, allocations: 3.938 kB / 0.5862 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.5271, allocations: 265.4 kB / 0.5865 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.5273, allocations: 54.62 kB / 0.5866 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.844e-05/0.5273, allocations: 24.98 kB / 0.5866 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.5274, allocations: 0 / 0.5866 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.5275, allocations: 55.41 kB / 0.5866 GB, free: 1.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.634e-06/0.5275, allocations: 0 / 0.5866 GB, free: 1.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006391/0.5282, allocations: 137.2 kB / 0.5868 GB, free: 1.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.5282, allocations: 55.39 kB / 0.5868 GB, free: 1.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.5285, allocations: 175.6 kB / 0.587 GB, free: 1.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.5286, allocations: 29.7 kB / 0.587 GB, free: 1.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.5287, allocations: 100 kB / 0.5871 GB, free: 1.453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.5287, allocations: 23.66 kB / 0.5871 GB, free: 1.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.5287, allocations: 0 / 0.5871 GB, free: 1.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.5289, allocations: 326.8 kB / 0.5874 GB, free: 1.102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.529, allocations: 16 kB / 0.5875 GB, free: 1.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.5291, allocations: 30.47 kB / 0.5875 GB, free: 1.051 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.987e-05/0.5292, allocations: 23.98 kB / 0.5875 GB, free: 1.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5292, allocations: 4 kB / 0.5875 GB, free: 1.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002287/0.5295, allocations: 93.62 kB / 0.5876 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5295, allocations: 4 kB / 0.5876 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5295, allocations: 3.938 kB / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5295, allocations: 0 / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.5297, allocations: 20.17 kB / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5297, allocations: 0 / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.5298, allocations: 8 kB / 0.5876 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.5298, allocations: 0 / 0.5876 GB, free: 0.8906 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 0.0001089/0.5299, allocations: 117 kB / 0.5877 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.53, allocations: 11.81 kB / 0.5878 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.5303, allocations: 99.22 kB / 0.5879 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.5303, allocations: 4 kB / 0.5879 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5303, allocations: 0 / 0.5879 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5304, allocations: 0 / 0.5879 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.5309, allocations: 379.8 kB / 0.5882 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5309, allocations: 4 kB / 0.5882 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.531, allocations: 11.94 kB / 0.5882 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.531, allocations: 3.938 kB / 0.5882 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.5311, allocations: 7.984 kB / 0.5882 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.5311, allocations: 3.906 kB / 0.5882 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5311, allocations: 0 / 0.5882 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003091/0.5314, allocations: 210 kB / 0.5884 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.5315, allocations: 89.02 kB / 0.5885 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.5316, allocations: 4 kB / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.5318, allocations: 7.891 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.5318, allocations: 4 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.5319, allocations: 4 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002039/0.5321, allocations: 144.1 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00049/0.5326, allocations: 31.92 kB / 0.5887 GB, free: 15.67 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.001234/0.5338, allocations: 350 kB / 0.5891 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.534, allocations: 51.94 kB / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5341, allocations: 0 / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.5342, allocations: 43.97 kB / 0.5891 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.5347, allocations: 18.48 kB / 0.5892 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.5353, allocations: 160.5 kB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.5358, allocations: 0.7274 MB / 0.59 GB, free: 14.36 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5359, allocations: 0 / 0.59 GB, free: 14.36 MB / 410.7 MB Notification: Performance of Templates: time 0.007564/0.5434, allocations: 1.657 MB / 0.5916 GB, free: 12.72 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches