Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") [: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.001656/0.001656, allocations: 170.6 kB / 8.144 MB, free: 2.215 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.793/1.793, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001274/0.001274, allocations: 94.8 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.2616/0.2616, allocations: 43.5 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.185e-06/8.216e-06, allocations: 0 / 417.7 MB, free: 40.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3111, allocations: 58.84 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.4975, allocations: 85.85 MB / 0.5492 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.4978, allocations: 79.89 kB / 0.5493 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03256/0.5304, allocations: 5.776 MB / 0.5549 GB, free: 7.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.5305, allocations: 4 kB / 0.5549 GB, free: 7.406 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.0006899/0.5312, allocations: 394.3 kB / 0.5553 GB, free: 6.977 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.5313, allocations: 12.03 kB / 0.5553 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.5313, allocations: 3.906 kB / 0.5553 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.5317, allocations: 190.9 kB / 0.5555 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.5317, allocations: 0 / 0.5555 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.5318, allocations: 0 / 0.5555 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000112/0.5319, allocations: 19.91 kB / 0.5555 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.5321, allocations: 51.41 kB / 0.5556 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.5321, allocations: 7.938 kB / 0.5556 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.5321, allocations: 0 / 0.5556 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.5322, allocations: 0 / 0.5556 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.5327, allocations: 253.4 kB / 0.5558 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.5329, allocations: 29.72 kB / 0.5558 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.533, allocations: 12.94 kB / 0.5559 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.533, allocations: 0 / 0.5559 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.5331, allocations: 38.56 kB / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.5331, allocations: 0 / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006494/0.5338, allocations: 101.3 kB / 0.556 GB, free: 6.156 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.5339, allocations: 77.11 kB / 0.5561 GB, free: 6.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.5341, allocations: 121 kB / 0.5562 GB, free: 5.938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.5341, allocations: 25.7 kB / 0.5562 GB, free: 5.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.5342, allocations: 150.6 kB / 0.5564 GB, free: 5.758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.5343, allocations: 19.73 kB / 0.5564 GB, free: 5.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.5343, allocations: 0 / 0.5564 GB, free: 5.738 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5345, allocations: 314.8 kB / 0.5567 GB, free: 5.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.826e-05/0.5346, allocations: 12 kB / 0.5567 GB, free: 5.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.5346, allocations: 21.72 kB / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.682e-05/0.5347, allocations: 8 kB / 0.5567 GB, free: 5.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.5347, allocations: 3.906 kB / 0.5567 GB, free: 5.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002178/0.535, allocations: 57.62 kB / 0.5568 GB, free: 5.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.535, allocations: 11.88 kB / 0.5568 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.535, allocations: 4 kB / 0.5568 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.535, allocations: 0 / 0.5568 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.5352, allocations: 20.02 kB / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5353, allocations: 0 / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.624e-05/0.5354, allocations: 4 kB / 0.5568 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.5354, allocations: 4 kB / 0.5568 GB, free: 5.266 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 6.928e-05/0.5355, allocations: 31.09 kB / 0.5568 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.5356, allocations: 8.047 kB / 0.5568 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.5359, allocations: 81.56 kB / 0.5569 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.5359, allocations: 0 / 0.5569 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5359, allocations: 0 / 0.5569 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.536, allocations: 0 / 0.5569 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.5366, allocations: 303 kB / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5366, allocations: 4 kB / 0.5572 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.5368, allocations: 11.98 kB / 0.5572 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.5368, allocations: 8 kB / 0.5572 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5368, allocations: 4.312 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5368, allocations: 0 / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5368, allocations: 0 / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002607/0.5371, allocations: 155.5 kB / 0.5574 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/0.5372, allocations: 93 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.5373, allocations: 0 / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.5375, allocations: 8 kB / 0.5575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.5376, allocations: 7.984 kB / 0.5575 GB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.5376, allocations: 0 / 0.5575 GB, free: 4.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001392/0.5377, allocations: 104.1 kB / 0.5576 GB, free: 4.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005604/0.5383, allocations: 27.98 kB / 0.5576 GB, free: 4.34 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.001313/0.5396, allocations: 346.5 kB / 0.5579 GB, free: 4.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.5398, allocations: 24 kB / 0.558 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5398, allocations: 0 / 0.558 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.054e-05/0.5399, allocations: 16 kB / 0.558 GB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.5403, allocations: 11.84 kB / 0.558 GB, free: 3.977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.5409, allocations: 129.5 kB / 0.5581 GB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005039/0.5414, allocations: 0.7075 MB / 0.5588 GB, free: 3.082 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5414, allocations: 0 / 0.5588 GB, free: 3.082 MB / 394.7 MB Notification: Performance of Templates: time 0.005998/0.5474, allocations: 1.583 MB / 0.5604 GB, free: 1.5 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches