Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") [: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.0009925/0.0009927, allocations: 180 kB / 8.519 MB, free: 1.77 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.312/1.312, allocations: 221.4 MB / 230.3 MB, free: 3.07 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.0009092/0.0009092, allocations: 96.67 kB / 281.2 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3134/0.3134, allocations: 44.15 MB / 376.1 MB, free: 43.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.277e-06/9.297e-06, allocations: 4 kB / 444.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3426, allocations: 61.9 MB / 0.4941 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.4624, allocations: 88.49 MB / 0.5805 GB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4627, allocations: 77.3 kB / 0.5806 GB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01503/0.4777, allocations: 5.185 MB / 0.5857 GB, free: 7.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4778, allocations: 0 / 0.5857 GB, free: 7.648 MB / 410.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.0004273/0.4782, allocations: 393 kB / 0.586 GB, free: 7.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4782, allocations: 9.281 kB / 0.586 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.4783, allocations: 7.906 kB / 0.586 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.4786, allocations: 210.8 kB / 0.5862 GB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.4787, allocations: 8 kB / 0.5863 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.4787, allocations: 0 / 0.5863 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.733e-05/0.4788, allocations: 23.98 kB / 0.5863 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.606e-05/0.4789, allocations: 49.62 kB / 0.5863 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4789, allocations: 3.938 kB / 0.5863 GB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.4789, allocations: 7.891 kB / 0.5863 GB, free: 6.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4789, allocations: 7.922 kB / 0.5863 GB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.4793, allocations: 265.5 kB / 0.5866 GB, free: 6.559 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.4794, allocations: 54.69 kB / 0.5866 GB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.4794, allocations: 20.89 kB / 0.5867 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.4795, allocations: 4 kB / 0.5867 GB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.322e-05/0.4796, allocations: 59.34 kB / 0.5867 GB, free: 6.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.4796, allocations: 0 / 0.5867 GB, free: 6.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004048/0.48, allocations: 137.2 kB / 0.5869 GB, free: 6.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.48, allocations: 51.41 kB / 0.5869 GB, free: 6.195 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.4802, allocations: 165.4 kB / 0.5871 GB, free: 6.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4802, allocations: 25.7 kB / 0.5871 GB, free: 5.996 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.4802, allocations: 88.14 kB / 0.5872 GB, free: 5.906 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.4803, allocations: 23.7 kB / 0.5872 GB, free: 5.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.4803, allocations: 0 / 0.5872 GB, free: 5.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4805, allocations: 322.8 kB / 0.5875 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.4805, allocations: 20 kB / 0.5875 GB, free: 5.539 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.437e-05/0.4806, allocations: 33.66 kB / 0.5876 GB, free: 5.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.4806, allocations: 23.98 kB / 0.5876 GB, free: 5.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4806, allocations: 0 / 0.5876 GB, free: 5.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000138/0.4808, allocations: 89.5 kB / 0.5877 GB, free: 5.383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.4808, allocations: 4 kB / 0.5877 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4808, allocations: 3.984 kB / 0.5877 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.4808, allocations: 192 / 0.5877 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.4809, allocations: 27.97 kB / 0.5877 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.4809, allocations: 0 / 0.5877 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.481, allocations: 7.938 kB / 0.5877 GB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.481, allocations: 8.688 kB / 0.5877 GB, free: 5.332 MB / 410.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.09e-05/0.4811, allocations: 108.9 kB / 0.5878 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.4811, allocations: 7.906 kB / 0.5878 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.4813, allocations: 106.3 kB / 0.5879 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4813, allocations: 3.984 kB / 0.5879 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4813, allocations: 4.094 kB / 0.5879 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4813, allocations: 7.938 kB / 0.5879 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.4817, allocations: 371.7 kB / 0.5883 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4817, allocations: 0 / 0.5883 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.4817, allocations: 8 kB / 0.5883 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.4817, allocations: 3.984 kB / 0.5883 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4818, allocations: 4 kB / 0.5883 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4818, allocations: 0 / 0.5883 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4818, allocations: 0 / 0.5883 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001704/0.482, allocations: 210.1 kB / 0.5885 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.482, allocations: 92.92 kB / 0.5886 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.482, allocations: 4 kB / 0.5886 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.4821, allocations: 3.984 kB / 0.5886 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.4822, allocations: 8 kB / 0.5886 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.4822, allocations: 4 kB / 0.5886 GB, free: 4.301 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001001/0.4823, allocations: 138.5 kB / 0.5888 GB, free: 4.168 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.4826, allocations: 31.98 kB / 0.5888 GB, free: 4.137 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.0006954/0.4833, allocations: 356.7 kB / 0.5891 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.4834, allocations: 56 kB / 0.5892 GB, free: 3.836 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4834, allocations: 0 / 0.5892 GB, free: 3.836 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.632e-05/0.4835, allocations: 27.98 kB / 0.5892 GB, free: 3.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.4838, allocations: 27.92 kB / 0.5892 GB, free: 3.781 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.4842, allocations: 165.6 kB / 0.5894 GB, free: 3.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.4845, allocations: 0.7292 MB / 0.5901 GB, free: 2.832 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4845, allocations: 0 / 0.5901 GB, free: 2.832 MB / 410.7 MB Notification: Performance of Templates: time 0.00411/0.4886, allocations: 1.63 MB / 0.5917 GB, free: 1.219 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches