Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.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.0009704/0.0009704, allocations: 174.3 kB / 8.515 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.249/1.249, allocations: 221.4 MB / 230.3 MB, free: 7.676 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.0008872/0.0008872, allocations: 88.72 kB / 281.2 MB, free: 5.422 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.1932/0.1932, allocations: 44.15 MB / 376.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.485e-06/8.506e-06, allocations: 224 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 61.91 MB / 0.4941 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3716/0.5082, allocations: 88.45 MB / 0.5805 GB, free: 8.352 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5085, allocations: 72.56 kB / 0.5805 GB, free: 8.281 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01481/0.5233, allocations: 5.117 MB / 0.5855 GB, free: 3.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.5234, allocations: 4 kB / 0.5855 GB, free: 3.172 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.0004395/0.5238, allocations: 406 kB / 0.5859 GB, free: 2.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5239, allocations: 13.22 kB / 0.5859 GB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.5239, allocations: 7.906 kB / 0.5859 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.5243, allocations: 215.5 kB / 0.5862 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.5243, allocations: 0 / 0.5862 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.5243, allocations: 4 kB / 0.5862 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.513e-05/0.5244, allocations: 23.94 kB / 0.5862 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.744e-05/0.5245, allocations: 53.58 kB / 0.5862 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5245, allocations: 0 / 0.5862 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.5245, allocations: 0 / 0.5862 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5245, allocations: 4 kB / 0.5862 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.5249, allocations: 277.3 kB / 0.5865 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.5251, allocations: 58.62 kB / 0.5866 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.5251, allocations: 20.97 kB / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.5251, allocations: 0 / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.164e-05/0.5252, allocations: 59.41 kB / 0.5866 GB, free: 1.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.5252, allocations: 0 / 0.5866 GB, free: 1.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004096/0.5256, allocations: 137.2 kB / 0.5868 GB, free: 1.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.5257, allocations: 51.41 kB / 0.5868 GB, free: 1.695 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.5259, allocations: 183.6 kB / 0.587 GB, free: 1.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.5259, allocations: 25.7 kB / 0.587 GB, free: 1.477 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.5259, allocations: 96.03 kB / 0.5871 GB, free: 1.379 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.526, allocations: 23.66 kB / 0.5871 GB, free: 1.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.526, allocations: 0 / 0.5871 GB, free: 1.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.5261, allocations: 322.8 kB / 0.5874 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.633e-05/0.5261, allocations: 20 kB / 0.5875 GB, free: 1.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.5262, allocations: 34.45 kB / 0.5875 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.5262, allocations: 24 kB / 0.5875 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.5262, allocations: 0 / 0.5875 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001429/0.5264, allocations: 93.42 kB / 0.5876 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.5264, allocations: 8 kB / 0.5876 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5264, allocations: 192 / 0.5876 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.5264, allocations: 0 / 0.5876 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.5265, allocations: 15.94 kB / 0.5876 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5265, allocations: 7.984 kB / 0.5876 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.5266, allocations: 4.031 kB / 0.5876 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.5266, allocations: 8 kB / 0.5876 GB, free: 0.8086 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 7.601e-05/0.5267, allocations: 108.9 kB / 0.5877 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.5267, allocations: 11.81 kB / 0.5878 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.5269, allocations: 99.06 kB / 0.5879 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5269, allocations: 0 / 0.5879 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.527, allocations: 0 / 0.5879 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.527, allocations: 4 kB / 0.5879 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.5273, allocations: 379.9 kB / 0.5882 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5274, allocations: 0 / 0.5882 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.5274, allocations: 15.94 kB / 0.5882 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5274, allocations: 0 / 0.5882 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.5274, allocations: 3.938 kB / 0.5882 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.5274, allocations: 3.906 kB / 0.5882 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5274, allocations: 4 kB / 0.5882 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001858/0.5276, allocations: 205.9 kB / 0.5884 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.5277, allocations: 97 kB / 0.5885 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.5277, allocations: 0 / 0.5885 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.5278, allocations: 7.906 kB / 0.5885 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.5279, allocations: 7.984 kB / 0.5885 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.5279, allocations: 4 kB / 0.5886 GB, free: 15.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001155/0.528, allocations: 148.1 kB / 0.5887 GB, free: 15.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002611/0.5283, allocations: 27.94 kB / 0.5887 GB, free: 15.61 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.0007746/0.5291, allocations: 352 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.5292, allocations: 51.94 kB / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5292, allocations: 4 kB / 0.5891 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.5293, allocations: 27.94 kB / 0.5891 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.5295, allocations: 23.97 kB / 0.5892 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.5299, allocations: 156.6 kB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.5303, allocations: 0.7349 MB / 0.59 GB, free: 14.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5303, allocations: 0 / 0.59 GB, free: 14.29 MB / 410.7 MB Notification: Performance of Templates: time 0.004305/0.5346, allocations: 1.66 MB / 0.5916 GB, free: 12.64 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches