Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.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.CombiTable1D.Test19,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.CombiTable1D.Test19") translateModel(ModelicaTest.Tables.CombiTable1D.Test19,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.CombiTable1D.Test19") [: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.001679/0.001679, allocations: 171.1 kB / 8.146 MB, free: 2.195 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.758/1.758, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001283/0.001283, allocations: 89.53 kB / 261.8 MB, free: 13.61 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.2665/0.2665, allocations: 43.49 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.271e-05/1.287e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2996, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1756/0.4753, allocations: 85.96 MB / 0.5493 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4756, allocations: 75.89 kB / 0.5494 GB, free: 13.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02616/0.5018, allocations: 5.793 MB / 0.5551 GB, free: 7.242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.5018, allocations: 0 / 0.5551 GB, free: 7.242 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.0006315/0.5025, allocations: 394.3 kB / 0.5554 GB, free: 6.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.5025, allocations: 16.02 kB / 0.5554 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.5026, allocations: 7.906 kB / 0.5555 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.503, allocations: 187 kB / 0.5556 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.503, allocations: 0 / 0.5556 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.503, allocations: 0 / 0.5556 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.481e-05/0.5031, allocations: 27.89 kB / 0.5557 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.5033, allocations: 55.34 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5033, allocations: 0 / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.5033, allocations: 0 / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5033, allocations: 0 / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.5038, allocations: 261.4 kB / 0.556 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.5041, allocations: 37.7 kB / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.5041, allocations: 8.859 kB / 0.556 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.5042, allocations: 0 / 0.556 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.5042, allocations: 30.56 kB / 0.556 GB, free: 6.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.5042, allocations: 4 kB / 0.556 GB, free: 6.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005276/0.5048, allocations: 113.5 kB / 0.5561 GB, free: 5.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.5048, allocations: 77.11 kB / 0.5562 GB, free: 5.871 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.505, allocations: 117 kB / 0.5563 GB, free: 5.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.505, allocations: 25.7 kB / 0.5564 GB, free: 5.719 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.5051, allocations: 154.6 kB / 0.5565 GB, free: 5.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.5051, allocations: 15.75 kB / 0.5565 GB, free: 5.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.5052, allocations: 4 kB / 0.5565 GB, free: 5.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5053, allocations: 314.8 kB / 0.5568 GB, free: 5.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.185e-05/0.5054, allocations: 12 kB / 0.5568 GB, free: 5.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.5054, allocations: 25.72 kB / 0.5569 GB, free: 5.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.47e-05/0.5055, allocations: 19.92 kB / 0.5569 GB, free: 5.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5055, allocations: 3.906 kB / 0.5569 GB, free: 5.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001572/0.5057, allocations: 57.69 kB / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5057, allocations: 11.88 kB / 0.5569 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5057, allocations: 8.266 kB / 0.557 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.5057, allocations: 0 / 0.557 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.5059, allocations: 19.98 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.5059, allocations: 0 / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.506, allocations: 8 kB / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.506, allocations: 0 / 0.557 GB, free: 5.055 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.794e-05/0.5061, allocations: 35.11 kB / 0.557 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.5061, allocations: 3.906 kB / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.5064, allocations: 81.58 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.5064, allocations: 4 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5064, allocations: 0 / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5064, allocations: 3.984 kB / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.507, allocations: 307.1 kB / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.507, allocations: 0 / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.5071, allocations: 23.92 kB / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.5071, allocations: 0 / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5072, allocations: 0 / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.5072, allocations: 0 / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5072, allocations: 0 / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002138/0.5074, allocations: 159.5 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.5075, allocations: 93 kB / 0.5577 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.5075, allocations: 4 kB / 0.5577 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.5076, allocations: 4 kB / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.5077, allocations: 7.984 kB / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.5077, allocations: 192 / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001253/0.5078, allocations: 107.7 kB / 0.5578 GB, free: 4.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.5082, allocations: 27.98 kB / 0.5578 GB, free: 4.117 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.000929/0.5091, allocations: 347.1 kB / 0.5581 GB, free: 3.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.5093, allocations: 28 kB / 0.5582 GB, free: 3.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5093, allocations: 4 kB / 0.5582 GB, free: 3.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.423e-05/0.5094, allocations: 15.98 kB / 0.5582 GB, free: 3.758 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.5097, allocations: 19.86 kB / 0.5582 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.5101, allocations: 133.4 kB / 0.5583 GB, free: 3.574 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.5105, allocations: 0.7153 MB / 0.559 GB, free: 2.832 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5105, allocations: 0 / 0.559 GB, free: 2.832 MB / 394.7 MB Notification: Performance of Templates: time 0.004655/0.5152, allocations: 1.614 MB / 0.5606 GB, free: 1.219 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches