Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") [: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.002113/0.002113, allocations: 175.2 kB / 8.148 MB, free: 2.703 MB / 6.207 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.2 MB / 213.8 MB, free: 2.07 MB / 174.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 85.36 kB / 261.8 MB, free: 1.461 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.27/0.27, allocations: 43.49 MB / 353.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 1.142e-05/1.178e-05, allocations: 4.156 kB / 417.7 MB, free: 63.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 58.84 MB / 476.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.5065, allocations: 85.99 MB / 0.5494 GB, free: 1.43 MB / 366.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.5069, allocations: 70.97 kB / 0.5494 GB, free: 1.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.01621/0.5231, allocations: 3.546 MB / 0.5529 GB, free: 14.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.5232, allocations: 4 kB / 0.5529 GB, free: 14.47 MB / 382.1 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.0005301/0.5237, allocations: 387.8 kB / 0.5533 GB, free: 14.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.5238, allocations: 12.03 kB / 0.5533 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.5238, allocations: 12.73 kB / 0.5533 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.5242, allocations: 203.5 kB / 0.5535 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.5242, allocations: 0 / 0.5535 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.5242, allocations: 0 / 0.5535 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.994e-05/0.5243, allocations: 18.36 kB / 0.5535 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5244, allocations: 37.08 kB / 0.5535 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5245, allocations: 0 / 0.5535 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5245, allocations: 0 / 0.5535 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5245, allocations: 4 kB / 0.5535 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.525, allocations: 267.5 kB / 0.5538 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.5252, allocations: 28.66 kB / 0.5538 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.5252, allocations: 15.55 kB / 0.5538 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.5253, allocations: 3.984 kB / 0.5538 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.5253, allocations: 38.56 kB / 0.5539 GB, free: 13.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.5253, allocations: 0 / 0.5539 GB, free: 13.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005286/0.5259, allocations: 106.1 kB / 0.554 GB, free: 13.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.5259, allocations: 51.41 kB / 0.554 GB, free: 13.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.5262, allocations: 180.1 kB / 0.5542 GB, free: 13.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.5263, allocations: 25.7 kB / 0.5542 GB, free: 13.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.5263, allocations: 154.6 kB / 0.5544 GB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.5264, allocations: 15.31 kB / 0.5544 GB, free: 12.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.5264, allocations: 0 / 0.5544 GB, free: 12.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5265, allocations: 314.8 kB / 0.5547 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/0.5266, allocations: 15.5 kB / 0.5547 GB, free: 12.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.792e-05/0.5266, allocations: 7.312 kB / 0.5547 GB, free: 12.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.486e-05/0.5267, allocations: 11.73 kB / 0.5547 GB, free: 12.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5267, allocations: 0 / 0.5547 GB, free: 12.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001403/0.5269, allocations: 56.55 kB / 0.5548 GB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5269, allocations: 8 kB / 0.5548 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.5269, allocations: 0 / 0.5548 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.5269, allocations: 0 / 0.5548 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.5271, allocations: 15.98 kB / 0.5548 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5271, allocations: 0 / 0.5548 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.5272, allocations: 11.98 kB / 0.5548 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.5272, allocations: 0 / 0.5548 GB, free: 12.42 MB / 382.1 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.664e-05/0.5273, allocations: 35.2 kB / 0.5548 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.5273, allocations: 11.81 kB / 0.5549 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.5276, allocations: 75.48 kB / 0.5549 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.5276, allocations: 0 / 0.5549 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5276, allocations: 0 / 0.5549 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5276, allocations: 0 / 0.5549 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.5281, allocations: 319.7 kB / 0.5552 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.5282, allocations: 7.984 kB / 0.5552 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.5283, allocations: 12 kB / 0.5552 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.5283, allocations: 384 / 0.5552 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.5283, allocations: 0 / 0.5552 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.5283, allocations: 4 kB / 0.5553 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5284, allocations: 4 kB / 0.5553 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001953/0.5286, allocations: 157 kB / 0.5554 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.5287, allocations: 97 kB / 0.5555 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.5287, allocations: 0 / 0.5555 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.5288, allocations: 11.84 kB / 0.5555 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.5289, allocations: 7.234 kB / 0.5555 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.5289, allocations: 4 kB / 0.5555 GB, free: 11.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.0001982/0.5291, allocations: 151.6 kB / 0.5557 GB, free: 11.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000317/0.5294, allocations: 19.19 kB / 0.5557 GB, free: 11.5 MB / 382.1 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.0008791/0.5304, allocations: 322.8 kB / 0.556 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.5305, allocations: 22.81 kB / 0.556 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5305, allocations: 0 / 0.556 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.615e-05/0.5306, allocations: 16.06 kB / 0.556 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.5309, allocations: 15.67 kB / 0.556 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.5315, allocations: 184 kB / 0.5562 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/0.532, allocations: 0.7224 MB / 0.5569 GB, free: 10.23 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.532, allocations: 0 / 0.5569 GB, free: 10.23 MB / 382.1 MB Notification: Performance of Templates: time 0.004659/0.5366, allocations: 1.565 MB / 0.5585 GB, free: 8.676 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches