Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") [: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.00165/0.00165, allocations: 169.9 kB / 8.148 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.739/1.739, 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.001291/0.001291, allocations: 100.7 kB / 261.8 MB, free: 13.62 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.2761/0.2761, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.517e-06/9.678e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2879, allocations: 58.84 MB / 476.5 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.4877, allocations: 86.4 MB / 0.5497 GB, free: 12.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.488, allocations: 71.91 kB / 0.5498 GB, free: 12.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03101/0.5191, allocations: 7.684 MB / 0.5573 GB, free: 4.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.143e-05/0.5192, allocations: 8 kB / 0.5573 GB, free: 4.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008192/0.52, allocations: 0.5442 MB / 0.5579 GB, free: 4.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.52, allocations: 12.03 kB / 0.5579 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.5202, allocations: 39.44 kB / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006967/0.5209, allocations: 339.2 kB / 0.5582 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.5209, allocations: 0 / 0.5582 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.5209, allocations: 4 kB / 0.5582 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001199/0.5211, allocations: 16 kB / 0.5582 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.5212, allocations: 49.59 kB / 0.5583 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5212, allocations: 0 / 0.5583 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5212, allocations: 0 / 0.5583 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.5213, allocations: 4 kB / 0.5583 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009516/0.5222, allocations: 437.2 kB / 0.5587 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.5224, allocations: 42.5 kB / 0.5588 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.5225, allocations: 16.86 kB / 0.5588 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.5225, allocations: 0 / 0.5588 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.5225, allocations: 30.56 kB / 0.5588 GB, free: 3.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.5225, allocations: 0 / 0.5588 GB, free: 3.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008806/0.5234, allocations: 248.2 kB / 0.559 GB, free: 2.902 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.5235, allocations: 55.41 kB / 0.5591 GB, free: 2.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.5255, allocations: 0.7512 MB / 0.5598 GB, free: 2.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.5255, allocations: 25.7 kB / 0.5599 GB, free: 2.043 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.5256, allocations: 158.6 kB / 0.56 GB, free: 1.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.5257, allocations: 19.7 kB / 0.56 GB, free: 1.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.5257, allocations: 4 kB / 0.56 GB, free: 1.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5258, allocations: 322.8 kB / 0.5603 GB, free: 1.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.5259, allocations: 15.98 kB / 0.5603 GB, free: 1.523 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/0.526, allocations: 20 kB / 0.5604 GB, free: 1.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.846e-05/0.5261, allocations: 23.98 kB / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5261, allocations: 0 / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002391/0.5263, allocations: 81.84 kB / 0.5605 GB, free: 1.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5264, allocations: 11.42 kB / 0.5605 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5264, allocations: 3.938 kB / 0.5605 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.5264, allocations: 8 kB / 0.5605 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.5267, allocations: 19.98 kB / 0.5605 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5267, allocations: 4 kB / 0.5605 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.5268, allocations: 19.89 kB / 0.5605 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.5268, allocations: 4 kB / 0.5605 GB, free: 1.328 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 (7): * Single equations (assignments): 7 * 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.945e-05/0.5269, allocations: 35.05 kB / 0.5606 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.5271, allocations: 39.44 kB / 0.5606 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004282/0.5276, allocations: 145.4 kB / 0.5607 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5276, allocations: 0 / 0.5607 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5276, allocations: 0 / 0.5607 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5276, allocations: 4 kB / 0.5607 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.5288, allocations: 0.577 MB / 0.5613 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5288, allocations: 3.984 kB / 0.5613 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.529, allocations: 19.98 kB / 0.5613 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.529, allocations: 4 kB / 0.5613 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.5291, allocations: 3.938 kB / 0.5613 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5291, allocations: 0 / 0.5613 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5291, allocations: 7.938 kB / 0.5614 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003596/0.5295, allocations: 218.9 kB / 0.5616 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.5298, allocations: 160.6 kB / 0.5617 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.5299, allocations: 7.906 kB / 0.5617 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.5301, allocations: 15.98 kB / 0.5617 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.5302, allocations: 8 kB / 0.5617 GB, free: 0 / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.5302, allocations: 0 / 0.5617 GB, free: 0 / 394.7 MB Notification: Performance of sort global known variables: time 0.001192/0.5314, allocations: 0.6121 MB / 0.5623 GB, free: 15.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004315/0.5319, allocations: 55.98 kB / 0.5624 GB, free: 15.34 MB / 410.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 (7): * Single equations (assignments): 7 * 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.0008576/0.5327, allocations: 308.4 kB / 0.5627 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.533, allocations: 63.91 kB / 0.5627 GB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.533, allocations: 0 / 0.5627 GB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.856e-05/0.5331, allocations: 27.98 kB / 0.5628 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.5335, allocations: 21.97 kB / 0.5628 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.5356, allocations: 0.7688 MB / 0.5635 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007589/0.5364, allocations: 0.8606 MB / 0.5644 GB, free: 13.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5365, allocations: 0 / 0.5644 GB, free: 13.27 MB / 410.7 MB Notification: Performance of Templates: time 0.01218/0.5486, allocations: 4.415 MB / 0.5687 GB, free: 8.844 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches