Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") [: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.0008626/0.0008626, allocations: 185 kB / 7.803 MB, free: 2.445 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.06/1.06, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0007811/0.000781, allocations: 96.39 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.1581/0.1581, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.682e-06/6.702e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 58.83 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.3412, allocations: 85.53 MB / 0.5489 GB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.3414, allocations: 67.97 kB / 0.549 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008434/0.3499, allocations: 3.204 MB / 0.5521 GB, free: 10.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3499, allocations: 4 kB / 0.5521 GB, free: 10.14 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.0002847/0.3502, allocations: 378.1 kB / 0.5525 GB, free: 9.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3502, allocations: 12.02 kB / 0.5525 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.3503, allocations: 11.81 kB / 0.5525 GB, free: 9.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.3505, allocations: 183 kB / 0.5527 GB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-06/0.3505, allocations: 0 / 0.5527 GB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3505, allocations: 0 / 0.5527 GB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.806e-05/0.3506, allocations: 15.98 kB / 0.5527 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.042e-05/0.3506, allocations: 41.7 kB / 0.5527 GB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3507, allocations: 0 / 0.5527 GB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3507, allocations: 3.984 kB / 0.5527 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3507, allocations: 3.938 kB / 0.5527 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.351, allocations: 249.5 kB / 0.553 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3511, allocations: 29.7 kB / 0.553 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.3511, allocations: 12.86 kB / 0.553 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3512, allocations: 3.906 kB / 0.553 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3512, allocations: 38.56 kB / 0.553 GB, free: 9.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.3512, allocations: 0 / 0.553 GB, free: 9.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000329/0.3515, allocations: 97.36 kB / 0.5531 GB, free: 8.934 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.3516, allocations: 51.41 kB / 0.5532 GB, free: 8.871 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3517, allocations: 141.2 kB / 0.5533 GB, free: 8.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.3517, allocations: 29.7 kB / 0.5534 GB, free: 8.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.419e-05/0.3517, allocations: 80.14 kB / 0.5534 GB, free: 8.605 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3518, allocations: 23.73 kB / 0.5535 GB, free: 8.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.3518, allocations: 0 / 0.5535 GB, free: 8.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.3518, allocations: 322.7 kB / 0.5538 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.3519, allocations: 15.98 kB / 0.5538 GB, free: 8.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.459e-05/0.3519, allocations: 4 kB / 0.5538 GB, free: 8.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.149e-05/0.3519, allocations: 12 kB / 0.5538 GB, free: 8.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.71e-07/0.3519, allocations: 0 / 0.5538 GB, free: 8.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.45e-05/0.352, allocations: 65.53 kB / 0.5539 GB, free: 8.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.352, allocations: 4 kB / 0.5539 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.352, allocations: 0 / 0.5539 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.3521, allocations: 4.188 kB / 0.5539 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.3521, allocations: 12 kB / 0.5539 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3521, allocations: 8 kB / 0.5539 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.3522, allocations: 11.98 kB / 0.5539 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3522, allocations: 0 / 0.5539 GB, free: 8.117 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.756e-05/0.3523, allocations: 109.8 kB / 0.554 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.3523, allocations: 7.812 kB / 0.554 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.3524, allocations: 77.8 kB / 0.5541 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3524, allocations: 0 / 0.5541 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3524, allocations: 0 / 0.5541 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3525, allocations: 4.141 kB / 0.5541 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3527, allocations: 307 kB / 0.5544 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3527, allocations: 0 / 0.5544 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/0.3528, allocations: 12 kB / 0.5544 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3528, allocations: 0 / 0.5544 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.3528, allocations: 4 kB / 0.5544 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3528, allocations: 0 / 0.5544 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3528, allocations: 3.984 kB / 0.5544 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000107/0.353, allocations: 159.5 kB / 0.5545 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.353, allocations: 92.91 kB / 0.5546 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.353, allocations: 0 / 0.5546 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.3531, allocations: 4 kB / 0.5546 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.3531, allocations: 7.984 kB / 0.5546 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.3531, allocations: 0 / 0.5546 GB, free: 7.254 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.074e-05/0.3532, allocations: 122.7 kB / 0.5548 GB, free: 7.137 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.3534, allocations: 16 kB / 0.5548 GB, free: 7.121 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.0005413/0.354, allocations: 310.4 kB / 0.5551 GB, free: 6.848 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.5e-05/0.3541, allocations: 31.94 kB / 0.5551 GB, free: 6.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3541, allocations: 0 / 0.5551 GB, free: 6.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.3541, allocations: 12 kB / 0.5551 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.3543, allocations: 19.84 kB / 0.5551 GB, free: 6.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.3546, allocations: 115.6 kB / 0.5552 GB, free: 6.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.3548, allocations: 0.7152 MB / 0.5559 GB, free: 5.906 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3548, allocations: 0 / 0.5559 GB, free: 5.906 MB / 394.7 MB Notification: Performance of Templates: time 0.002905/0.3578, allocations: 1.097 MB / 0.557 GB, free: 4.816 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches