Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,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.Test5") [: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.002466/0.002472, allocations: 173.8 kB / 8.145 MB, free: 2.129 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.831/1.831, allocations: 205.2 MB / 213.8 MB, free: 14 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.00127/0.00127, allocations: 92.5 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.2534/0.2534, allocations: 43.49 MB / 353.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.705e-06/7.794e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2621, allocations: 58.83 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.4122, allocations: 85.68 MB / 0.549 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4126, allocations: 71.47 kB / 0.5491 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01587/0.4284, allocations: 3.61 MB / 0.5526 GB, free: 9.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.4285, allocations: 0 / 0.5526 GB, free: 9.73 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.0004602/0.429, allocations: 398 kB / 0.553 GB, free: 9.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.429, allocations: 12.03 kB / 0.553 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.4291, allocations: 11.89 kB / 0.553 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.4294, allocations: 201 kB / 0.5532 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4294, allocations: 3.984 kB / 0.5532 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.4295, allocations: 0 / 0.5532 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.229e-05/0.4296, allocations: 16 kB / 0.5532 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.781e-05/0.4297, allocations: 45.62 kB / 0.5533 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4297, allocations: 3.906 kB / 0.5533 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4297, allocations: 0 / 0.5533 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4297, allocations: 0 / 0.5533 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.4302, allocations: 281.4 kB / 0.5536 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.4305, allocations: 29.72 kB / 0.5536 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.807e-05/0.4305, allocations: 8.953 kB / 0.5536 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.4305, allocations: 7.984 kB / 0.5536 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.4306, allocations: 38.56 kB / 0.5536 GB, free: 8.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.4306, allocations: 3.938 kB / 0.5536 GB, free: 8.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005288/0.4311, allocations: 109.3 kB / 0.5538 GB, free: 8.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.4312, allocations: 51.41 kB / 0.5538 GB, free: 8.367 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.4315, allocations: 193.5 kB / 0.554 GB, free: 8.168 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.4315, allocations: 29.7 kB / 0.554 GB, free: 8.133 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.4316, allocations: 154.5 kB / 0.5542 GB, free: 7.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.4317, allocations: 19.75 kB / 0.5542 GB, free: 7.961 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.4317, allocations: 0 / 0.5542 GB, free: 7.961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4318, allocations: 318.8 kB / 0.5545 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.4319, allocations: 12 kB / 0.5545 GB, free: 7.629 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.4319, allocations: 8 kB / 0.5545 GB, free: 7.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.224e-05/0.432, allocations: 16.17 kB / 0.5545 GB, free: 7.605 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.432, allocations: 3.938 kB / 0.5545 GB, free: 7.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001536/0.4322, allocations: 65.69 kB / 0.5546 GB, free: 7.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4322, allocations: 8 kB / 0.5546 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.4322, allocations: 0 / 0.5546 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4322, allocations: 3.906 kB / 0.5546 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4324, allocations: 12 kB / 0.5546 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.4324, allocations: 0 / 0.5546 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.4325, allocations: 11.98 kB / 0.5546 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4325, allocations: 7.938 kB / 0.5546 GB, free: 7.488 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.883e-05/0.4325, allocations: 25.86 kB / 0.5547 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.4326, allocations: 11.81 kB / 0.5547 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.4329, allocations: 90.69 kB / 0.5547 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4329, allocations: 144 / 0.5547 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4329, allocations: 3.984 kB / 0.5548 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.4329, allocations: 0 / 0.5548 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.4334, allocations: 339 kB / 0.5551 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4334, allocations: 4 kB / 0.5551 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.4336, allocations: 11.98 kB / 0.5551 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4336, allocations: 7.938 kB / 0.5551 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.4336, allocations: 0 / 0.5551 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4336, allocations: 0 / 0.5551 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4336, allocations: 0 / 0.5551 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002095/0.4338, allocations: 167.5 kB / 0.5553 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.589e-05/0.4339, allocations: 97 kB / 0.5554 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.434, allocations: 7.969 kB / 0.5554 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.4341, allocations: 8 kB / 0.5554 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.996e-05/0.4342, allocations: 3.984 kB / 0.5554 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.4342, allocations: 4 kB / 0.5554 GB, free: 6.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002376/0.4344, allocations: 156.2 kB / 0.5555 GB, free: 6.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.4348, allocations: 27.98 kB / 0.5556 GB, free: 6.453 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.0008399/0.4356, allocations: 302.5 kB / 0.5558 GB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.4358, allocations: 35.98 kB / 0.5559 GB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4358, allocations: 0 / 0.5559 GB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.252e-05/0.4358, allocations: 16 kB / 0.5559 GB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.4362, allocations: 19.84 kB / 0.5559 GB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.4368, allocations: 209.3 kB / 0.5561 GB, free: 5.887 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/0.4372, allocations: 0.7231 MB / 0.5568 GB, free: 5.137 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4372, allocations: 0 / 0.5568 GB, free: 5.137 MB / 394.7 MB Notification: Performance of Templates: time 0.004595/0.4418, allocations: 1.651 MB / 0.5584 GB, free: 3.484 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches