Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") [: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.001609/0.001608, allocations: 174.6 kB / 8.148 MB, free: 2.211 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.746/1.746, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001292/0.001291, allocations: 86.03 kB / 261.8 MB, free: 13.64 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.2628/0.2628, allocations: 43.5 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.152e-05/1.161e-05, allocations: 4 kB / 417.7 MB, free: 40.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2932, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.474, allocations: 85.91 MB / 0.5493 GB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.4744, allocations: 71.47 kB / 0.5493 GB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02779/0.5022, allocations: 6.054 MB / 0.5552 GB, free: 7.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.5022, allocations: 4 kB / 0.5552 GB, free: 7.074 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006151/0.5029, allocations: 398.3 kB / 0.5556 GB, free: 6.641 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5029, allocations: 12.03 kB / 0.5556 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.503, allocations: 11.81 kB / 0.5557 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.5033, allocations: 190.9 kB / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.5033, allocations: 0 / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.5034, allocations: 4 kB / 0.5558 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001112/0.5035, allocations: 23.98 kB / 0.5559 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.5036, allocations: 59.41 kB / 0.5559 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5037, allocations: 3.938 kB / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.5037, allocations: 0 / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5037, allocations: 0 / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.5042, allocations: 273.3 kB / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.5043, allocations: 41.61 kB / 0.5562 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.5044, allocations: 16.98 kB / 0.5562 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.5044, allocations: 0 / 0.5562 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.5044, allocations: 30.56 kB / 0.5563 GB, free: 5.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.5044, allocations: 4 kB / 0.5563 GB, free: 5.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006398/0.5051, allocations: 125.3 kB / 0.5564 GB, free: 5.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.5052, allocations: 81.11 kB / 0.5565 GB, free: 5.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.5053, allocations: 128.9 kB / 0.5566 GB, free: 5.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.5054, allocations: 25.7 kB / 0.5566 GB, free: 5.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.5055, allocations: 150.6 kB / 0.5568 GB, free: 5.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.5055, allocations: 35.55 kB / 0.5568 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.5055, allocations: 0 / 0.5568 GB, free: 5.301 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5057, allocations: 310.8 kB / 0.5571 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.5058, allocations: 12 kB / 0.5571 GB, free: 4.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.5058, allocations: 29.72 kB / 0.5571 GB, free: 4.938 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/0.5059, allocations: 20.16 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5059, allocations: 0 / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001949/0.5061, allocations: 85.58 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5062, allocations: 8.031 kB / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5062, allocations: 0 / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.5062, allocations: 4 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.5064, allocations: 20.17 kB / 0.5573 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5064, allocations: 0 / 0.5573 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.398e-05/0.5065, allocations: 8 kB / 0.5573 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.5066, allocations: 11.98 kB / 0.5573 GB, free: 4.777 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 (8): * Single equations (assignments): 8 * 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.304e-05/0.5066, allocations: 27.11 kB / 0.5573 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.5067, allocations: 11.84 kB / 0.5573 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.507, allocations: 94.02 kB / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.507, allocations: 0 / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5071, allocations: 4 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5071, allocations: 0 / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/0.5077, allocations: 343 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5077, allocations: 0 / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.5079, allocations: 19.98 kB / 0.5578 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.5079, allocations: 4 kB / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.5079, allocations: 0 / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5079, allocations: 0 / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5079, allocations: 0 / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002422/0.5082, allocations: 175.4 kB / 0.5579 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.5083, allocations: 89 kB / 0.558 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.5083, allocations: 4 kB / 0.558 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.5084, allocations: 4 kB / 0.558 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.5085, allocations: 11.92 kB / 0.558 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.5085, allocations: 3.938 kB / 0.558 GB, free: 3.914 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001152/0.5087, allocations: 105.1 kB / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.509, allocations: 32 kB / 0.5582 GB, free: 3.781 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 (8): * Single equations (assignments): 8 * 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.0009631/0.51, allocations: 332 kB / 0.5585 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.5102, allocations: 51.95 kB / 0.5585 GB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5102, allocations: 7.938 kB / 0.5585 GB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.5103, allocations: 20 kB / 0.5586 GB, free: 3.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.5107, allocations: 15.86 kB / 0.5586 GB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.5112, allocations: 145.1 kB / 0.5587 GB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.5116, allocations: 0.7192 MB / 0.5594 GB, free: 2.477 MB / 394.7 MB Notification: Performance of SimCode: time 3.436e-06/0.5116, allocations: 0 / 0.5594 GB, free: 2.477 MB / 394.7 MB Notification: Performance of Templates: time 0.005342/0.517, allocations: 1.764 MB / 0.5611 GB, free: 0.7109 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches