Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [: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.001039/0.001039, allocations: 179.9 kB / 8.519 MB, free: 1.852 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.378/1.378, 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.0009598/0.0009598, allocations: 89.47 kB / 281.2 MB, free: 5.453 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.1784/0.1784, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.079e-05/1.106e-05, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 61.91 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2829/0.3968, allocations: 87.93 MB / 0.58 GB, free: 8.781 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.397, allocations: 70.75 kB / 0.58 GB, free: 8.746 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01761/0.4147, allocations: 7.611 MB / 0.5875 GB, free: 1.164 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.4147, allocations: 4 kB / 0.5875 GB, free: 1.16 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.00053/0.4153, allocations: 0.548 MB / 0.588 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4153, allocations: 13.47 kB / 0.588 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.4154, allocations: 43.44 kB / 0.5881 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.4159, allocations: 331.2 kB / 0.5884 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.4159, allocations: 0 / 0.5884 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.4159, allocations: 0 / 0.5884 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.333e-05/0.416, allocations: 19.98 kB / 0.5884 GB, free: 132 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.954e-05/0.4161, allocations: 41.7 kB / 0.5884 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.4161, allocations: 0 / 0.5884 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4161, allocations: 3.984 kB / 0.5884 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4161, allocations: 11.72 kB / 0.5884 GB, free: 72 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.4167, allocations: 421.4 kB / 0.5888 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.995e-05/0.4168, allocations: 34.52 kB / 0.5889 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.4168, allocations: 16.77 kB / 0.5889 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.4169, allocations: 4.078 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.4169, allocations: 34.56 kB / 0.5889 GB, free: 15.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4169, allocations: 0 / 0.5889 GB, free: 15.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002081/0.4171, allocations: 89.22 kB / 0.589 GB, free: 15.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.4171, allocations: 55.41 kB / 0.5891 GB, free: 15.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.4183, allocations: 0.7511 MB / 0.5898 GB, free: 14.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.4183, allocations: 25.7 kB / 0.5898 GB, free: 14.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.4184, allocations: 136.1 kB / 0.59 GB, free: 14.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.4184, allocations: 11.84 kB / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.4184, allocations: 0 / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4185, allocations: 354.8 kB / 0.5903 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.4186, allocations: 15.94 kB / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.4186, allocations: 15.98 kB / 0.5903 GB, free: 14.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.4186, allocations: 8 kB / 0.5903 GB, free: 14.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4186, allocations: 0 / 0.5903 GB, free: 14.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001348/0.4188, allocations: 89.12 kB / 0.5904 GB, free: 13.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4188, allocations: 8 kB / 0.5904 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4188, allocations: 0 / 0.5904 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.4188, allocations: 0 / 0.5904 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.4189, allocations: 11.98 kB / 0.5904 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.4189, allocations: 4 kB / 0.5904 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.839e-05/0.419, allocations: 15.84 kB / 0.5905 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.419, allocations: 0 / 0.5905 GB, free: 13.89 MB / 410.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 (3): * Single equations (assignments): 3 * 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 5.634e-05/0.4191, allocations: 105 kB / 0.5906 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.4192, allocations: 43.44 kB / 0.5906 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.4194, allocations: 109 kB / 0.5907 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4194, allocations: 4 kB / 0.5907 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4194, allocations: 0 / 0.5907 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4194, allocations: 0 / 0.5907 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.4197, allocations: 317.9 kB / 0.591 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4197, allocations: 0 / 0.591 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.4198, allocations: 15.92 kB / 0.591 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4198, allocations: 0 / 0.591 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.4198, allocations: 0 / 0.591 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4198, allocations: 4 kB / 0.591 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4198, allocations: 4 kB / 0.591 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001733/0.42, allocations: 187.2 kB / 0.5912 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.4202, allocations: 160.5 kB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.4202, allocations: 0 / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.4204, allocations: 8.031 kB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.4204, allocations: 7.984 kB / 0.5914 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4204, allocations: 4 kB / 0.5914 GB, free: 12.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006172/0.421, allocations: 0.6082 MB / 0.592 GB, free: 12.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.4213, allocations: 56 kB / 0.592 GB, free: 12.18 MB / 410.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 (3): * Single equations (assignments): 3 * 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.0004907/0.4218, allocations: 262.1 kB / 0.5923 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.168e-05/0.4219, allocations: 19.98 kB / 0.5923 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4219, allocations: 0 / 0.5923 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.939e-05/0.422, allocations: 19.94 kB / 0.5923 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.4222, allocations: 25.86 kB / 0.5924 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.4234, allocations: 0.6953 MB / 0.593 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.4238, allocations: 0.8485 MB / 0.5939 GB, free: 10.33 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4238, allocations: 0 / 0.5939 GB, free: 10.33 MB / 410.7 MB Notification: Performance of Templates: time 0.005453/0.4293, allocations: 2.059 MB / 0.5959 GB, free: 8.266 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches