Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11") [: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 3.2.3+maint.om/package.mo): time 0.0009006/0.0009007, allocations: 190.9 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.079/1.079, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008465/0.0008466, allocations: 94.58 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1554/0.1554, allocations: 43.48 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.014e-06, allocations: 3.938 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2368, allocations: 58.83 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.3383, allocations: 85.54 MB / 0.5489 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.3385, allocations: 67.97 kB / 0.549 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008627/0.3472, allocations: 3.247 MB / 0.5522 GB, free: 10.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3472, allocations: 0 / 0.5522 GB, free: 10.08 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.0002767/0.3475, allocations: 369.9 kB / 0.5525 GB, free: 9.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3475, allocations: 12.03 kB / 0.5525 GB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.3476, allocations: 7.906 kB / 0.5525 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.3478, allocations: 202.3 kB / 0.5527 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-06/0.3478, allocations: 0 / 0.5527 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3478, allocations: 0 / 0.5527 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.675e-05/0.3479, allocations: 12 kB / 0.5527 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.343e-05/0.3479, allocations: 41.69 kB / 0.5528 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3479, allocations: 3.906 kB / 0.5528 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.348, allocations: 0 / 0.5528 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.348, allocations: 0 / 0.5528 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.3482, allocations: 257.4 kB / 0.553 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.3484, allocations: 37.64 kB / 0.5531 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.3484, allocations: 8.859 kB / 0.5531 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3484, allocations: 0 / 0.5531 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3485, allocations: 34.56 kB / 0.5531 GB, free: 8.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3485, allocations: 0 / 0.5531 GB, free: 8.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003557/0.3488, allocations: 101.4 kB / 0.5532 GB, free: 8.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.3489, allocations: 55.41 kB / 0.5532 GB, free: 8.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.349, allocations: 137 kB / 0.5534 GB, free: 8.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.349, allocations: 29.7 kB / 0.5534 GB, free: 8.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.3491, allocations: 92.06 kB / 0.5535 GB, free: 8.531 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.3491, allocations: 19.72 kB / 0.5535 GB, free: 8.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.3491, allocations: 0 / 0.5535 GB, free: 8.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3492, allocations: 322.8 kB / 0.5538 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.3492, allocations: 11.94 kB / 0.5538 GB, free: 8.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.3493, allocations: 8 kB / 0.5538 GB, free: 8.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.3493, allocations: 11.98 kB / 0.5539 GB, free: 8.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.61e-07/0.3493, allocations: 0 / 0.5539 GB, free: 8.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.482e-05/0.3494, allocations: 57.61 kB / 0.5539 GB, free: 8.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.3494, allocations: 4 kB / 0.5539 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3494, allocations: 4 kB / 0.5539 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.3494, allocations: 144 / 0.5539 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.3495, allocations: 24.17 kB / 0.5539 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3495, allocations: 3.984 kB / 0.5539 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.3496, allocations: 15.89 kB / 0.554 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3496, allocations: 7.984 kB / 0.554 GB, free: 8.035 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.445e-05/0.3496, allocations: 102.4 kB / 0.5541 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.3497, allocations: 7.906 kB / 0.5541 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.3498, allocations: 69.88 kB / 0.5541 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3498, allocations: 0 / 0.5541 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3498, allocations: 0 / 0.5541 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3499, allocations: 7.922 kB / 0.5541 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.3501, allocations: 307 kB / 0.5544 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3502, allocations: 0 / 0.5544 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.3502, allocations: 12 kB / 0.5544 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3502, allocations: 4 kB / 0.5545 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.3502, allocations: 4 kB / 0.5545 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3502, allocations: 0 / 0.5545 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3503, allocations: 3.906 kB / 0.5545 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001165/0.3504, allocations: 159.5 kB / 0.5546 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.3504, allocations: 89 kB / 0.5547 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3505, allocations: 0 / 0.5547 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.3505, allocations: 12 kB / 0.5547 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.3506, allocations: 3.984 kB / 0.5547 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3506, allocations: 3.906 kB / 0.5547 GB, free: 7.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.732e-05/0.3507, allocations: 127 kB / 0.5548 GB, free: 7.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.3509, allocations: 23.92 kB / 0.5549 GB, free: 7.027 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.000501/0.3514, allocations: 296.4 kB / 0.5551 GB, free: 6.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.45e-05/0.3515, allocations: 31.98 kB / 0.5552 GB, free: 6.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.3515, allocations: 0 / 0.5552 GB, free: 6.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.3515, allocations: 19.94 kB / 0.5552 GB, free: 6.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.3517, allocations: 15.84 kB / 0.5552 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.352, allocations: 123.6 kB / 0.5553 GB, free: 6.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.3523, allocations: 0.7153 MB / 0.556 GB, free: 5.812 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3523, allocations: 4 kB / 0.556 GB, free: 5.809 MB / 394.7 MB Notification: Performance of Templates: time 0.002821/0.3551, allocations: 1.108 MB / 0.5571 GB, free: 4.707 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches