Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") [: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.001115/0.001115, allocations: 187.4 kB / 7.803 MB, free: 2.441 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.078/1.078, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008012/0.0008012, allocations: 83.42 kB / 261.4 MB, free: 13.54 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.1617/0.1617, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.871e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2386, allocations: 58.84 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1018/0.3404, allocations: 86.31 MB / 0.5497 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001547/0.3406, allocations: 71.95 kB / 0.5497 GB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01453/0.3551, allocations: 5.947 MB / 0.5556 GB, free: 6.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.3552, allocations: 0 / 0.5556 GB, free: 6.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003749/0.3556, allocations: 410.2 kB / 0.5559 GB, free: 6.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3556, allocations: 11.97 kB / 0.556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.3557, allocations: 11.81 kB / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3559, allocations: 198.9 kB / 0.5562 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3559, allocations: 4 kB / 0.5562 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.3559, allocations: 4 kB / 0.5562 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.525e-05/0.356, allocations: 16 kB / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.075e-05/0.3561, allocations: 59.34 kB / 0.5562 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3561, allocations: 0 / 0.5562 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3561, allocations: 0 / 0.5562 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3561, allocations: 0 / 0.5562 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.3564, allocations: 265.4 kB / 0.5565 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.578e-05/0.3565, allocations: 34.56 kB / 0.5565 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.3565, allocations: 16.84 kB / 0.5565 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.3565, allocations: 4 kB / 0.5565 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.3566, allocations: 38.41 kB / 0.5566 GB, free: 5.398 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3566, allocations: 0 / 0.5566 GB, free: 5.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004142/0.357, allocations: 137.5 kB / 0.5567 GB, free: 5.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3571, allocations: 77.11 kB / 0.5568 GB, free: 5.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3572, allocations: 132.7 kB / 0.5569 GB, free: 5.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3572, allocations: 25.7 kB / 0.5569 GB, free: 4.996 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.3572, allocations: 92.12 kB / 0.557 GB, free: 4.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.3573, allocations: 19.7 kB / 0.557 GB, free: 4.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.3573, allocations: 0 / 0.557 GB, free: 4.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.3574, allocations: 322.8 kB / 0.5573 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.3574, allocations: 12 kB / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/0.3574, allocations: 29.66 kB / 0.5574 GB, free: 4.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.152e-05/0.3575, allocations: 15.98 kB / 0.5574 GB, free: 4.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3575, allocations: 0 / 0.5574 GB, free: 4.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001077/0.3576, allocations: 73.62 kB / 0.5575 GB, free: 4.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.3576, allocations: 8 kB / 0.5575 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3576, allocations: 0 / 0.5575 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.3576, allocations: 0 / 0.5575 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3578, allocations: 23.98 kB / 0.5575 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3578, allocations: 0 / 0.5575 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.265e-05/0.3579, allocations: 23.92 kB / 0.5575 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.3579, allocations: 3.938 kB / 0.5575 GB, free: 4.359 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 (7): * Single equations (assignments): 7 * 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.995e-05/0.3579, allocations: 110.3 kB / 0.5576 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.358, allocations: 11.81 kB / 0.5576 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.3582, allocations: 86.47 kB / 0.5577 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3582, allocations: 8 kB / 0.5577 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3582, allocations: 0 / 0.5577 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3582, allocations: 0 / 0.5577 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.3585, allocations: 331 kB / 0.5581 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3586, allocations: 3.984 kB / 0.5581 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.89e-05/0.3587, allocations: 27.98 kB / 0.5581 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3587, allocations: 0 / 0.5581 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3587, allocations: 0 / 0.5581 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3587, allocations: 0 / 0.5581 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3587, allocations: 0 / 0.5581 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001519/0.3589, allocations: 167.4 kB / 0.5582 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.3589, allocations: 89 kB / 0.5583 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3589, allocations: 3.906 kB / 0.5583 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.359, allocations: 19.98 kB / 0.5583 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3591, allocations: 8 kB / 0.5584 GB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3591, allocations: 4 kB / 0.5584 GB, free: 3.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.986e-05/0.3592, allocations: 103.3 kB / 0.5585 GB, free: 3.312 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.3594, allocations: 35.92 kB / 0.5585 GB, free: 3.277 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 (7): * Single equations (assignments): 7 * 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.0005918/0.36, allocations: 335.8 kB / 0.5588 GB, free: 2.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.3601, allocations: 40 kB / 0.5589 GB, free: 2.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3601, allocations: 0 / 0.5589 GB, free: 2.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.3602, allocations: 23.94 kB / 0.5589 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.3604, allocations: 24.25 kB / 0.5589 GB, free: 2.902 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.3607, allocations: 115.4 kB / 0.559 GB, free: 2.766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.361, allocations: 0.7153 MB / 0.5597 GB, free: 2.023 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.361, allocations: 0 / 0.5597 GB, free: 2.023 MB / 394.7 MB Notification: Performance of Templates: time 0.003413/0.3644, allocations: 1.505 MB / 0.5612 GB, free: 0.5234 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches