Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001661/0.001665, allocations: 178.5 kB / 8.151 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 92.67 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2633/0.2633, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.987e-06/9.448e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3055, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.5023, allocations: 85.96 MB / 0.5493 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5027, allocations: 79.17 kB / 0.5494 GB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02551/0.5282, allocations: 5.792 MB / 0.5551 GB, free: 7.258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.5283, allocations: 4 kB / 0.5551 GB, free: 7.254 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.0005267/0.5288, allocations: 394.3 kB / 0.5554 GB, free: 6.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.5288, allocations: 8.031 kB / 0.5554 GB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.5289, allocations: 7.906 kB / 0.5554 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.5292, allocations: 186.9 kB / 0.5556 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.5292, allocations: 4 kB / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.5292, allocations: 0 / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.716e-05/0.5293, allocations: 27.83 kB / 0.5557 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.5295, allocations: 59.41 kB / 0.5557 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.5295, allocations: 0 / 0.5557 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.5295, allocations: 0 / 0.5557 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.5295, allocations: 0 / 0.5557 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.53, allocations: 261.4 kB / 0.556 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.5302, allocations: 37.64 kB / 0.556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.5303, allocations: 12.86 kB / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.5303, allocations: 3.984 kB / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.5303, allocations: 30.56 kB / 0.556 GB, free: 6.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/0.5303, allocations: 0 / 0.556 GB, free: 6.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005121/0.5309, allocations: 105.5 kB / 0.5561 GB, free: 5.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.5309, allocations: 85.11 kB / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.5311, allocations: 116.9 kB / 0.5563 GB, free: 5.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5311, allocations: 29.7 kB / 0.5564 GB, free: 5.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.5312, allocations: 150.6 kB / 0.5565 GB, free: 5.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.5313, allocations: 15.75 kB / 0.5565 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.5313, allocations: 4 kB / 0.5565 GB, free: 5.555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5314, allocations: 318.8 kB / 0.5568 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.5315, allocations: 8 kB / 0.5568 GB, free: 5.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.5315, allocations: 21.72 kB / 0.5569 GB, free: 5.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/0.5316, allocations: 19.98 kB / 0.5569 GB, free: 5.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5316, allocations: 3.906 kB / 0.5569 GB, free: 5.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001868/0.5318, allocations: 61.88 kB / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5318, allocations: 7.938 kB / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5318, allocations: 12.03 kB / 0.557 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5319, allocations: 0 / 0.557 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.532, allocations: 15.98 kB / 0.557 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.532, allocations: 3.938 kB / 0.557 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.5321, allocations: 4 kB / 0.557 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.5321, allocations: 4 kB / 0.557 GB, free: 5.062 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.365e-05/0.5322, allocations: 31.11 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.5322, allocations: 7.906 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.5325, allocations: 81.62 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5325, allocations: 0 / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5325, allocations: 0 / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5325, allocations: 0 / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.533, allocations: 315 kB / 0.5574 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.533, allocations: 4 kB / 0.5574 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.5331, allocations: 15.98 kB / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5331, allocations: 4 kB / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.5331, allocations: 0 / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5331, allocations: 0 / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5332, allocations: 0 / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001981/0.5334, allocations: 159.5 kB / 0.5576 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.5334, allocations: 89 kB / 0.5577 GB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.5335, allocations: 4 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.5336, allocations: 8.125 kB / 0.5577 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.5337, allocations: 11.98 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.5337, allocations: 4 kB / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.557e-05/0.5338, allocations: 100.1 kB / 0.5578 GB, free: 4.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000311/0.5341, allocations: 23.98 kB / 0.5578 GB, free: 4.129 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.000958/0.5351, allocations: 342.8 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.5352, allocations: 32 kB / 0.5582 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5353, allocations: 0 / 0.5582 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.5353, allocations: 23.92 kB / 0.5582 GB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.5356, allocations: 16 kB / 0.5582 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.536, allocations: 125.5 kB / 0.5583 GB, free: 3.594 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.5364, allocations: 0.7192 MB / 0.559 GB, free: 2.848 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5364, allocations: 4 kB / 0.559 GB, free: 2.844 MB / 394.7 MB Notification: Performance of Templates: time 0.004658/0.5411, allocations: 1.618 MB / 0.5606 GB, free: 1.227 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches