Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") [: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.001754/0.001753, allocations: 180 kB / 8.519 MB, free: 1.848 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.422/1.422, allocations: 221.4 MB / 230.3 MB, free: 7.688 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.000901/0.000901, allocations: 90.23 kB / 281.2 MB, free: 5.48 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.172/0.172, allocations: 44.15 MB / 376.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.237e-06, allocations: 224 / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 61.92 MB / 0.4941 GB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3024/0.4233, allocations: 88.43 MB / 0.5805 GB, free: 8.367 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4236, allocations: 78.95 kB / 0.5805 GB, free: 8.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0145/0.4381, allocations: 4.993 MB / 0.5854 GB, free: 3.312 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4381, allocations: 0 / 0.5854 GB, free: 3.312 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.0004407/0.4386, allocations: 390.1 kB / 0.5858 GB, free: 2.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4386, allocations: 21.2 kB / 0.5858 GB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.4387, allocations: 7.906 kB / 0.5858 GB, free: 2.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.439, allocations: 203.4 kB / 0.586 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.439, allocations: 0 / 0.586 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.4391, allocations: 11.89 kB / 0.586 GB, free: 2.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.322e-05/0.4391, allocations: 16 kB / 0.586 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.4393, allocations: 53.67 kB / 0.5861 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4393, allocations: 4 kB / 0.5861 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.4393, allocations: 0 / 0.5861 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.4393, allocations: 3.938 kB / 0.5861 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.4397, allocations: 261.4 kB / 0.5863 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.4398, allocations: 54.69 kB / 0.5864 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.4398, allocations: 20.98 kB / 0.5864 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.4399, allocations: 0 / 0.5864 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.44, allocations: 59.41 kB / 0.5865 GB, free: 2.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.44, allocations: 0 / 0.5865 GB, free: 2.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004317/0.4404, allocations: 137.1 kB / 0.5866 GB, free: 1.934 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.4405, allocations: 51.41 kB / 0.5866 GB, free: 1.871 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.4406, allocations: 145.9 kB / 0.5868 GB, free: 1.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.4406, allocations: 29.7 kB / 0.5868 GB, free: 1.684 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.4407, allocations: 92.12 kB / 0.5869 GB, free: 1.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.4407, allocations: 19.72 kB / 0.5869 GB, free: 1.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.4407, allocations: 0 / 0.5869 GB, free: 1.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4409, allocations: 323.6 kB / 0.5872 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.015e-05/0.4409, allocations: 20 kB / 0.5872 GB, free: 1.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-05/0.441, allocations: 33.7 kB / 0.5873 GB, free: 1.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.642e-05/0.441, allocations: 20.12 kB / 0.5873 GB, free: 1.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.441, allocations: 8 kB / 0.5873 GB, free: 1.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001514/0.4412, allocations: 93.42 kB / 0.5874 GB, free: 1.062 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4412, allocations: 4 kB / 0.5874 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4412, allocations: 4 kB / 0.5874 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.4412, allocations: 0 / 0.5874 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.4414, allocations: 20.11 kB / 0.5874 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4414, allocations: 0 / 0.5874 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.4414, allocations: 8 kB / 0.5874 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.4414, allocations: 4 kB / 0.5874 GB, free: 1.023 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 8.777e-05/0.4415, allocations: 116.9 kB / 0.5875 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.4416, allocations: 7.906 kB / 0.5876 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.4418, allocations: 102.1 kB / 0.5877 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4418, allocations: 0 / 0.5877 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4418, allocations: 4 kB / 0.5877 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4418, allocations: 0 / 0.5877 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.4422, allocations: 360 kB / 0.588 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4422, allocations: 4.031 kB / 0.588 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.4423, allocations: 8 kB / 0.588 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4423, allocations: 3.938 kB / 0.588 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.4423, allocations: 11.91 kB / 0.588 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4423, allocations: 3.984 kB / 0.588 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4423, allocations: 80 / 0.588 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001939/0.4425, allocations: 209.9 kB / 0.5882 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.4426, allocations: 89 kB / 0.5883 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.4426, allocations: 0 / 0.5883 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.4427, allocations: 4 kB / 0.5883 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.4427, allocations: 3.984 kB / 0.5883 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.4428, allocations: 8 kB / 0.5883 GB, free: 0 / 394.7 MB Notification: Performance of sort global known variables: time 0.0001346/0.4429, allocations: 116 kB / 0.5884 GB, free: 15.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.4432, allocations: 35.92 kB / 0.5885 GB, free: 15.85 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.0008283/0.444, allocations: 346.9 kB / 0.5888 GB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.4442, allocations: 51.98 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4442, allocations: 0 / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.4443, allocations: 35.98 kB / 0.5889 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.4446, allocations: 26.39 kB / 0.5889 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.4451, allocations: 132.7 kB / 0.589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.4455, allocations: 0.7266 MB / 0.5898 GB, free: 14.58 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4455, allocations: 0 / 0.5898 GB, free: 14.58 MB / 410.7 MB Notification: Performance of Templates: time 0.004425/0.45, allocations: 1.592 MB / 0.5913 GB, free: 13 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches