Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,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.Test31") [: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.001735/0.001735, allocations: 186.1 kB / 8.149 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.2 MB / 213.7 MB, free: 8.59 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 93.38 kB / 261.8 MB, free: 5.184 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.285/0.285, allocations: 43.5 MB / 353.2 MB, free: 11.43 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 8.866e-06/9.147e-06, allocations: 0 / 417.7 MB, free: 68.6 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 58.86 MB / 476.5 MB, free: 9.691 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/0.5011, allocations: 85.67 MB / 0.549 GB, free: 11.08 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.5014, allocations: 75.56 kB / 0.5491 GB, free: 11.04 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.01669/0.5181, allocations: 3.78 MB / 0.5528 GB, free: 7.895 MB / 370.8 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.5182, allocations: 0 / 0.5528 GB, free: 7.895 MB / 370.8 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.000584/0.5188, allocations: 402.7 kB / 0.5532 GB, free: 7.473 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5188, allocations: 12.03 kB / 0.5532 GB, free: 7.461 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.5189, allocations: 11.81 kB / 0.5532 GB, free: 7.449 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.5193, allocations: 210.1 kB / 0.5534 GB, free: 7.207 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5193, allocations: 4 kB / 0.5534 GB, free: 7.203 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.5193, allocations: 0 / 0.5534 GB, free: 7.203 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.159e-05/0.5194, allocations: 22.31 kB / 0.5534 GB, free: 7.188 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.851e-05/0.5195, allocations: 40.81 kB / 0.5535 GB, free: 7.145 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5196, allocations: 3.938 kB / 0.5535 GB, free: 7.141 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.5196, allocations: 3.906 kB / 0.5535 GB, free: 7.137 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.5196, allocations: 4 kB / 0.5535 GB, free: 7.133 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.5201, allocations: 286.5 kB / 0.5538 GB, free: 6.836 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.5203, allocations: 33.64 kB / 0.5538 GB, free: 6.801 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.5204, allocations: 12.36 kB / 0.5538 GB, free: 6.789 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.5204, allocations: 0 / 0.5538 GB, free: 6.789 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5205, allocations: 34.64 kB / 0.5538 GB, free: 6.746 MB / 370.8 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.5205, allocations: 0 / 0.5538 GB, free: 6.746 MB / 370.8 MB Notification: Performance of matching and sorting (n=5): time 0.0005574/0.521, allocations: 120.4 kB / 0.5539 GB, free: 6.633 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.5211, allocations: 51.41 kB / 0.554 GB, free: 6.57 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.5215, allocations: 233.8 kB / 0.5542 GB, free: 6.371 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.5215, allocations: 25.7 kB / 0.5542 GB, free: 6.34 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.5216, allocations: 154.5 kB / 0.5544 GB, free: 6.188 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.5217, allocations: 20.41 kB / 0.5544 GB, free: 6.168 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.5217, allocations: 0 / 0.5544 GB, free: 6.168 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5218, allocations: 318.7 kB / 0.5547 GB, free: 5.852 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.5219, allocations: 14.86 kB / 0.5547 GB, free: 5.84 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.5219, allocations: 7.625 kB / 0.5547 GB, free: 5.836 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.205e-05/0.522, allocations: 11.88 kB / 0.5547 GB, free: 5.828 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.522, allocations: 0 / 0.5547 GB, free: 5.828 MB / 370.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001577/0.5222, allocations: 64.38 kB / 0.5548 GB, free: 5.77 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.5222, allocations: 11.94 kB / 0.5548 GB, free: 5.758 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5222, allocations: 3.984 kB / 0.5548 GB, free: 5.754 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.5222, allocations: 0 / 0.5548 GB, free: 5.754 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.5224, allocations: 16 kB / 0.5548 GB, free: 5.738 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.5224, allocations: 0 / 0.5548 GB, free: 5.738 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.5225, allocations: 11.89 kB / 0.5548 GB, free: 5.727 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.5225, allocations: 4 kB / 0.5549 GB, free: 5.723 MB / 370.8 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.149e-05/0.5226, allocations: 27.27 kB / 0.5549 GB, free: 5.691 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.5227, allocations: 11.81 kB / 0.5549 GB, free: 5.68 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.523, allocations: 96.56 kB / 0.555 GB, free: 5.594 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.523, allocations: 0 / 0.555 GB, free: 5.594 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.523, allocations: 0 / 0.555 GB, free: 5.594 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.523, allocations: 0 / 0.555 GB, free: 5.594 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.5236, allocations: 358.6 kB / 0.5553 GB, free: 5.23 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5236, allocations: 0 / 0.5553 GB, free: 5.23 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.5238, allocations: 15.98 kB / 0.5553 GB, free: 5.215 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5238, allocations: 4 kB / 0.5553 GB, free: 5.211 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.5238, allocations: 0 / 0.5553 GB, free: 5.211 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5238, allocations: 0 / 0.5553 GB, free: 5.211 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.5238, allocations: 3.938 kB / 0.5553 GB, free: 5.207 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002174/0.524, allocations: 165.7 kB / 0.5555 GB, free: 5.039 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5242, allocations: 104.4 kB / 0.5556 GB, free: 4.922 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.5242, allocations: 0 / 0.5556 GB, free: 4.922 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.5243, allocations: 8 kB / 0.5556 GB, free: 4.914 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.5244, allocations: 3.984 kB / 0.5556 GB, free: 4.91 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.5244, allocations: 4.141 kB / 0.5556 GB, free: 4.906 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0002662/0.5247, allocations: 196.7 kB / 0.5558 GB, free: 4.75 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0003109/0.525, allocations: 27.84 kB / 0.5558 GB, free: 4.723 MB / 370.8 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.0008291/0.5259, allocations: 307.8 kB / 0.5561 GB, free: 4.473 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.526, allocations: 38.48 kB / 0.5562 GB, free: 4.445 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.526, allocations: 0 / 0.5562 GB, free: 4.445 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 4.982e-05/0.5261, allocations: 15.94 kB / 0.5562 GB, free: 4.434 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.5265, allocations: 19.27 kB / 0.5562 GB, free: 4.418 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.5272, allocations: 241.8 kB / 0.5564 GB, free: 4.168 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.5276, allocations: 0.7386 MB / 0.5571 GB, free: 3.406 MB / 370.8 MB Notification: Performance of SimCode: time 9.22e-07/0.5276, allocations: 0 / 0.5571 GB, free: 3.406 MB / 370.8 MB Notification: Performance of Templates: time 0.005072/0.5327, allocations: 1.773 MB / 0.5589 GB, free: 1.641 MB / 370.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches