Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [: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.001075/0.001076, allocations: 179.4 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.285/1.285, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0009297/0.0009296, allocations: 89.48 kB / 281.2 MB, free: 5.457 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.1851/0.1851, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.963e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1353, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3379/0.4732, allocations: 87.14 MB / 0.5792 GB, free: 9.629 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4734, allocations: 65.53 kB / 0.5792 GB, free: 9.598 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009311/0.4828, allocations: 3.395 MB / 0.5826 GB, free: 6.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.4828, allocations: 4.578 kB / 0.5826 GB, free: 6.238 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003493/0.4832, allocations: 374.2 kB / 0.5829 GB, free: 5.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4832, allocations: 17.47 kB / 0.5829 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.4832, allocations: 7.906 kB / 0.5829 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.4835, allocations: 198.8 kB / 0.5831 GB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.4835, allocations: 0 / 0.5831 GB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.4835, allocations: 4 kB / 0.5831 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.956e-05/0.4836, allocations: 8 kB / 0.5831 GB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.799e-05/0.4836, allocations: 45.62 kB / 0.5832 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4837, allocations: 3.984 kB / 0.5832 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4837, allocations: 3.906 kB / 0.5832 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4837, allocations: 4 kB / 0.5832 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.484, allocations: 249.5 kB / 0.5834 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.4841, allocations: 37.55 kB / 0.5835 GB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.4842, allocations: 8.859 kB / 0.5835 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.4842, allocations: 0 / 0.5835 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.4842, allocations: 34.56 kB / 0.5835 GB, free: 5.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.4842, allocations: 4 kB / 0.5835 GB, free: 5.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003526/0.4846, allocations: 97.41 kB / 0.5836 GB, free: 5.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.4846, allocations: 59.41 kB / 0.5837 GB, free: 4.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.4848, allocations: 151.3 kB / 0.5838 GB, free: 4.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4848, allocations: 25.7 kB / 0.5838 GB, free: 4.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.4848, allocations: 88.08 kB / 0.5839 GB, free: 4.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.4849, allocations: 23.72 kB / 0.5839 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.4849, allocations: 0 / 0.5839 GB, free: 4.645 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.485, allocations: 322.8 kB / 0.5843 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.485, allocations: 4 kB / 0.5843 GB, free: 4.316 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.485, allocations: 8 kB / 0.5843 GB, free: 4.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.4851, allocations: 11.98 kB / 0.5843 GB, free: 4.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.4851, allocations: 4 kB / 0.5843 GB, free: 4.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.837e-05/0.4852, allocations: 53.61 kB / 0.5843 GB, free: 4.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4852, allocations: 8 kB / 0.5843 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4852, allocations: 0 / 0.5843 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.4852, allocations: 4 kB / 0.5843 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.4853, allocations: 20.17 kB / 0.5844 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.4853, allocations: 0 / 0.5844 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.4854, allocations: 11.98 kB / 0.5844 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4854, allocations: 4 kB / 0.5844 GB, free: 4.188 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.21e-05/0.4854, allocations: 108.9 kB / 0.5845 GB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.4855, allocations: 7.906 kB / 0.5845 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.4856, allocations: 65.88 kB / 0.5846 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4856, allocations: 0 / 0.5846 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4856, allocations: 3.984 kB / 0.5846 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4856, allocations: 4 kB / 0.5846 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.4859, allocations: 307 kB / 0.5849 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.486, allocations: 4 kB / 0.5849 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.486, allocations: 16 kB / 0.5849 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.486, allocations: 0 / 0.5849 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.486, allocations: 0 / 0.5849 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.486, allocations: 0 / 0.5849 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4861, allocations: 7.922 kB / 0.5849 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001251/0.4862, allocations: 155.4 kB / 0.585 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.4863, allocations: 96.94 kB / 0.5851 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.4863, allocations: 8 kB / 0.5851 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.4864, allocations: 4 kB / 0.5851 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.4864, allocations: 7.922 kB / 0.5851 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.4864, allocations: 4 kB / 0.5851 GB, free: 3.312 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.216e-05/0.4865, allocations: 117.8 kB / 0.5853 GB, free: 3.199 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.4867, allocations: 27.83 kB / 0.5853 GB, free: 3.172 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0005736/0.4873, allocations: 296.3 kB / 0.5856 GB, free: 2.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.357e-05/0.4874, allocations: 31.98 kB / 0.5856 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4874, allocations: 0 / 0.5856 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/0.4875, allocations: 19.88 kB / 0.5856 GB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.4877, allocations: 8 kB / 0.5856 GB, free: 2.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.488, allocations: 119.6 kB / 0.5857 GB, free: 2.754 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.4884, allocations: 0.7192 MB / 0.5864 GB, free: 2.008 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4884, allocations: 0 / 0.5864 GB, free: 2.008 MB / 394.7 MB Notification: Performance of Templates: time 0.003203/0.4916, allocations: 1.113 MB / 0.5875 GB, free: 0.8984 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches