Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [: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.002487/0.002487, allocations: 172.4 kB / 8.149 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.778/1.778, 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.001238/0.001237, allocations: 86.16 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.2608/0.2608, allocations: 43.5 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.538e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2993, allocations: 58.83 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.4604, allocations: 85.52 MB / 0.5489 GB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.4607, allocations: 67.91 kB / 0.5489 GB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01478/0.4755, allocations: 3.172 MB / 0.552 GB, free: 10.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.4755, allocations: 4 kB / 0.552 GB, free: 10.32 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.0004477/0.476, allocations: 370.2 kB / 0.5524 GB, free: 9.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4761, allocations: 8.031 kB / 0.5524 GB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.4761, allocations: 7.906 kB / 0.5524 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.4764, allocations: 196.2 kB / 0.5526 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4764, allocations: 3.906 kB / 0.5526 GB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.4765, allocations: 4 kB / 0.5526 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.774e-05/0.4765, allocations: 8 kB / 0.5526 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.376e-05/0.4767, allocations: 41.67 kB / 0.5527 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4767, allocations: 8 kB / 0.5527 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4767, allocations: 0 / 0.5527 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.4767, allocations: 0 / 0.5527 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.4771, allocations: 249.4 kB / 0.5529 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.4773, allocations: 29.7 kB / 0.5529 GB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.4774, allocations: 8.859 kB / 0.5529 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.4774, allocations: 4 kB / 0.5529 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4775, allocations: 38.56 kB / 0.553 GB, free: 9.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.4775, allocations: 0 / 0.553 GB, free: 9.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000486/0.478, allocations: 97.41 kB / 0.5531 GB, free: 9.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.478, allocations: 51.41 kB / 0.5531 GB, free: 9.055 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.4782, allocations: 138.7 kB / 0.5533 GB, free: 8.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.4782, allocations: 25.7 kB / 0.5533 GB, free: 8.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.4783, allocations: 150.6 kB / 0.5534 GB, free: 8.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.4784, allocations: 19.72 kB / 0.5534 GB, free: 8.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.4784, allocations: 0 / 0.5534 GB, free: 8.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4785, allocations: 310.8 kB / 0.5537 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.4785, allocations: 8 kB / 0.5537 GB, free: 8.391 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.4786, allocations: 11.94 kB / 0.5538 GB, free: 8.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.4786, allocations: 11.98 kB / 0.5538 GB, free: 8.367 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4787, allocations: 4 kB / 0.5538 GB, free: 8.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001286/0.4788, allocations: 49.89 kB / 0.5538 GB, free: 8.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4788, allocations: 7.281 kB / 0.5538 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4788, allocations: 8.047 kB / 0.5538 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4789, allocations: 0 / 0.5538 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.479, allocations: 15.94 kB / 0.5539 GB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.479, allocations: 3.906 kB / 0.5539 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.4791, allocations: 19.92 kB / 0.5539 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.4791, allocations: 0 / 0.5539 GB, free: 8.258 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 4.914e-05/0.4792, allocations: 27.11 kB / 0.5539 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.4792, allocations: 7.906 kB / 0.5539 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.4794, allocations: 73.84 kB / 0.554 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4795, allocations: 0 / 0.554 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.4795, allocations: 4 kB / 0.554 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4795, allocations: 0 / 0.554 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.4799, allocations: 299 kB / 0.5543 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4799, allocations: 4 kB / 0.5543 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.48, allocations: 11.98 kB / 0.5543 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4801, allocations: 4 kB / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4801, allocations: 0 / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4801, allocations: 0 / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4801, allocations: 0 / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001889/0.4803, allocations: 167.4 kB / 0.5544 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.4804, allocations: 85.02 kB / 0.5545 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.4804, allocations: 3.984 kB / 0.5545 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4805, allocations: 4.188 kB / 0.5545 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4806, allocations: 4 kB / 0.5545 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.4806, allocations: 7.984 kB / 0.5545 GB, free: 7.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001018/0.4807, allocations: 108.3 kB / 0.5547 GB, free: 7.375 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002941/0.481, allocations: 23.92 kB / 0.5547 GB, free: 7.352 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.0008705/0.4819, allocations: 299.4 kB / 0.555 GB, free: 7.086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.482, allocations: 31.98 kB / 0.555 GB, free: 7.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4821, allocations: 3.938 kB / 0.555 GB, free: 7.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/0.4821, allocations: 16 kB / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.4824, allocations: 15.77 kB / 0.555 GB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.4829, allocations: 137.4 kB / 0.5552 GB, free: 6.852 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.4833, allocations: 0.7036 MB / 0.5558 GB, free: 6.121 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4833, allocations: 0 / 0.5558 GB, free: 6.121 MB / 394.7 MB Notification: Performance of Templates: time 0.004402/0.4877, allocations: 1.399 MB / 0.5572 GB, free: 4.723 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches