Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,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.Test24") [: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.002358/0.002357, allocations: 174.4 kB / 8.145 MB, free: 2.223 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.681/1.681, 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.00126/0.00126, allocations: 95.39 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.2628/0.2628, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.308e-06/9.457e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.26, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.4095, allocations: 85.97 MB / 0.5493 GB, free: 13.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.4098, allocations: 75.23 kB / 0.5494 GB, free: 13.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02505/0.4349, allocations: 5.793 MB / 0.5551 GB, free: 7.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.4349, allocations: 0 / 0.5551 GB, free: 7.238 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.0005386/0.4355, allocations: 394.3 kB / 0.5554 GB, free: 6.809 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4355, allocations: 8.031 kB / 0.5554 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.4356, allocations: 11.89 kB / 0.5555 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.4359, allocations: 187 kB / 0.5556 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4359, allocations: 0 / 0.5556 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.4359, allocations: 4 kB / 0.5556 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.147e-05/0.436, allocations: 23.89 kB / 0.5557 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.4362, allocations: 59.34 kB / 0.5557 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4362, allocations: 0 / 0.5557 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4362, allocations: 0 / 0.5557 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4362, allocations: 0 / 0.5557 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.4367, allocations: 265.4 kB / 0.556 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.4369, allocations: 33.7 kB / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.437, allocations: 12.86 kB / 0.556 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.437, allocations: 0 / 0.556 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.437, allocations: 30.56 kB / 0.556 GB, free: 6.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.657e-06/0.437, allocations: 0 / 0.556 GB, free: 6.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005065/0.4375, allocations: 117.4 kB / 0.5562 GB, free: 5.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.4376, allocations: 77.11 kB / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.4378, allocations: 117 kB / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.4378, allocations: 25.7 kB / 0.5564 GB, free: 5.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.4379, allocations: 150.6 kB / 0.5565 GB, free: 5.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.4379, allocations: 19.75 kB / 0.5565 GB, free: 5.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.4379, allocations: 4 kB / 0.5565 GB, free: 5.539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4381, allocations: 314.8 kB / 0.5568 GB, free: 5.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.34e-05/0.4381, allocations: 12 kB / 0.5568 GB, free: 5.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.4382, allocations: 25.72 kB / 0.5569 GB, free: 5.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.651e-05/0.4383, allocations: 19.92 kB / 0.5569 GB, free: 5.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4383, allocations: 3.906 kB / 0.5569 GB, free: 5.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001729/0.4384, allocations: 57.69 kB / 0.5569 GB, free: 5.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4385, allocations: 4 kB / 0.5569 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4385, allocations: 7.969 kB / 0.557 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4385, allocations: 0 / 0.557 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.4387, allocations: 15.98 kB / 0.557 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4387, allocations: 3.938 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.4388, allocations: 8 kB / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4388, allocations: 144 / 0.557 GB, free: 5.055 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.258e-05/0.4388, allocations: 31.11 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.4389, allocations: 11.89 kB / 0.557 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.4391, allocations: 81.58 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4392, allocations: 0 / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4392, allocations: 4 kB / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4392, allocations: 4.297 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.4397, allocations: 311.1 kB / 0.5574 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4397, allocations: 0 / 0.5574 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.4398, allocations: 23.92 kB / 0.5574 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4398, allocations: 0 / 0.5574 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.4398, allocations: 0 / 0.5574 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4398, allocations: 0 / 0.5574 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4399, allocations: 0 / 0.5574 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001978/0.4401, allocations: 159.5 kB / 0.5576 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.4401, allocations: 97 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.4402, allocations: 0 / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.4403, allocations: 4 kB / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.4404, allocations: 7.984 kB / 0.5577 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.4404, allocations: 0 / 0.5577 GB, free: 4.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001027/0.4405, allocations: 104.1 kB / 0.5578 GB, free: 4.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003163/0.4408, allocations: 23.98 kB / 0.5578 GB, free: 4.117 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.0009282/0.4418, allocations: 347.6 kB / 0.5581 GB, free: 3.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.4419, allocations: 28 kB / 0.5582 GB, free: 3.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4419, allocations: 3.938 kB / 0.5582 GB, free: 3.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/0.442, allocations: 19.98 kB / 0.5582 GB, free: 3.754 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.4423, allocations: 16 kB / 0.5582 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.4427, allocations: 133.4 kB / 0.5583 GB, free: 3.574 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.4432, allocations: 0.7153 MB / 0.559 GB, free: 2.832 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.4432, allocations: 0 / 0.559 GB, free: 2.832 MB / 394.7 MB Notification: Performance of Templates: time 0.00465/0.4478, allocations: 1.614 MB / 0.5606 GB, free: 1.219 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches