Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.CombiTable1Dv.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.001011/0.001011, allocations: 183.5 kB / 8.524 MB, free: 1.82 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.284/1.284, allocations: 221.4 MB / 230.3 MB, free: 7.68 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.0008884/0.0008883, allocations: 90.16 kB / 281.2 MB, free: 5.5 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.1794/0.1794, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.627e-06, allocations: 4 kB / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 61.9 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3088/0.4301, allocations: 87.25 MB / 0.5793 GB, free: 9.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.4303, allocations: 69.16 kB / 0.5794 GB, free: 9.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009379/0.4397, allocations: 3.323 MB / 0.5826 GB, free: 6.074 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.4398, allocations: 4 kB / 0.5826 GB, free: 6.07 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.0003386/0.4401, allocations: 366.2 kB / 0.583 GB, free: 5.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4402, allocations: 21.41 kB / 0.583 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.4402, allocations: 7.906 kB / 0.583 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.4404, allocations: 193.6 kB / 0.5832 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.4404, allocations: 0 / 0.5832 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.4404, allocations: 3.906 kB / 0.5832 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.044e-05/0.4405, allocations: 16 kB / 0.5832 GB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.96e-05/0.4406, allocations: 45.62 kB / 0.5832 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4406, allocations: 0 / 0.5832 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.4406, allocations: 0 / 0.5832 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4406, allocations: 0 / 0.5832 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.441, allocations: 265.4 kB / 0.5835 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.4412, allocations: 33.7 kB / 0.5835 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.4412, allocations: 12.86 kB / 0.5835 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.4413, allocations: 0 / 0.5835 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4413, allocations: 38.5 kB / 0.5836 GB, free: 4.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.4413, allocations: 3.938 kB / 0.5836 GB, free: 4.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003707/0.4417, allocations: 109.5 kB / 0.5837 GB, free: 4.828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.4417, allocations: 51.41 kB / 0.5837 GB, free: 4.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4418, allocations: 129.2 kB / 0.5838 GB, free: 4.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.4419, allocations: 29.7 kB / 0.5839 GB, free: 4.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.4419, allocations: 84.12 kB / 0.5839 GB, free: 4.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.442, allocations: 19.72 kB / 0.584 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.442, allocations: 0 / 0.584 GB, free: 4.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4421, allocations: 318.8 kB / 0.5843 GB, free: 4.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.4421, allocations: 12 kB / 0.5843 GB, free: 4.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.4421, allocations: 12 kB / 0.5843 GB, free: 4.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.4422, allocations: 19.92 kB / 0.5843 GB, free: 4.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.4422, allocations: 0 / 0.5843 GB, free: 4.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.4423, allocations: 65.73 kB / 0.5844 GB, free: 4.055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4423, allocations: 8 kB / 0.5844 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4423, allocations: 0 / 0.5844 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4423, allocations: 3.984 kB / 0.5844 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.4424, allocations: 12 kB / 0.5844 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.4424, allocations: 3.984 kB / 0.5844 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.4425, allocations: 4 kB / 0.5844 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.4425, allocations: 8 kB / 0.5844 GB, free: 4.016 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 5.59e-05/0.4426, allocations: 104.9 kB / 0.5845 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.4426, allocations: 7.906 kB / 0.5845 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.4428, allocations: 81.78 kB / 0.5846 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4428, allocations: 0 / 0.5846 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4428, allocations: 0 / 0.5846 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4428, allocations: 0 / 0.5846 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.4431, allocations: 319 kB / 0.5849 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4431, allocations: 384 / 0.5849 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.4432, allocations: 19.92 kB / 0.5849 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4432, allocations: 0 / 0.5849 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.4432, allocations: 4 kB / 0.5849 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4432, allocations: 0 / 0.5849 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4433, allocations: 0 / 0.5849 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001358/0.4434, allocations: 167.4 kB / 0.5851 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.4434, allocations: 92.95 kB / 0.5852 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4435, allocations: 3.906 kB / 0.5852 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.4436, allocations: 7.984 kB / 0.5852 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.4436, allocations: 4 kB / 0.5852 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.4436, allocations: 0 / 0.5852 GB, free: 3.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.221e-05/0.4437, allocations: 106.4 kB / 0.5853 GB, free: 3.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000236/0.4439, allocations: 19.94 kB / 0.5853 GB, free: 3.004 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.0005749/0.4445, allocations: 303.9 kB / 0.5856 GB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.589e-05/0.4446, allocations: 36.06 kB / 0.5856 GB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4446, allocations: 0 / 0.5856 GB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/0.4447, allocations: 19.98 kB / 0.5857 GB, free: 2.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.4449, allocations: 12 kB / 0.5857 GB, free: 2.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.4452, allocations: 115.6 kB / 0.5858 GB, free: 2.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.4455, allocations: 0.7114 MB / 0.5865 GB, free: 1.828 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4455, allocations: 0 / 0.5865 GB, free: 1.828 MB / 394.7 MB Notification: Performance of Templates: time 0.003259/0.4488, allocations: 1.091 MB / 0.5875 GB, free: 0.7422 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches