Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") translateModel(ModelicaTest.Tables.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") [: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.001671/0.00167, allocations: 172.8 kB / 8.144 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.705/1.705, 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.001267/0.001267, allocations: 88.02 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.258/0.258, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.325e-06/8.496e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2811, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.4481, allocations: 85.44 MB / 0.5488 GB, free: 13.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/0.4486, allocations: 71.25 kB / 0.5489 GB, free: 13.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02435/0.4729, allocations: 4.135 MB / 0.5529 GB, free: 9.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.473, allocations: 0 / 0.5529 GB, free: 9.422 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006401/0.4737, allocations: 382.2 kB / 0.5533 GB, free: 9.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.4737, allocations: 8.031 kB / 0.5533 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.4738, allocations: 7.906 kB / 0.5533 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.474, allocations: 171 kB / 0.5535 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.4741, allocations: 3.984 kB / 0.5535 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.4741, allocations: 11.94 kB / 0.5535 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001757/0.4743, allocations: 35.91 kB / 0.5535 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.4747, allocations: 179.3 kB / 0.5537 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4747, allocations: 3.938 kB / 0.5537 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.4747, allocations: 0 / 0.5537 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.4748, allocations: 8 kB / 0.5537 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.4765, allocations: 1.683 MB / 0.5553 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.4767, allocations: 177 kB / 0.5555 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.4768, allocations: 80.14 kB / 0.5556 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.4768, allocations: 75.31 kB / 0.5557 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.989e-05/0.4769, allocations: 113.8 kB / 0.5558 GB, free: 6.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.817e-06/0.4769, allocations: 0 / 0.5558 GB, free: 6.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001546/0.4771, allocations: 37.61 kB / 0.5558 GB, free: 6.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.4772, allocations: 55.41 kB / 0.5559 GB, free: 6.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.4776, allocations: 164.1 kB / 0.556 GB, free: 5.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.4776, allocations: 25.7 kB / 0.556 GB, free: 5.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.4778, allocations: 213.6 kB / 0.5562 GB, free: 5.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/0.4779, allocations: 4 kB / 0.5562 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.4779, allocations: 0 / 0.5562 GB, free: 5.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4781, allocations: 326.8 kB / 0.5566 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.4782, allocations: 24.33 kB / 0.5566 GB, free: 5.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.4785, allocations: 156.6 kB / 0.5567 GB, free: 5.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.4787, allocations: 63.91 kB / 0.5568 GB, free: 5.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4787, allocations: 0 / 0.5568 GB, free: 5.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006228/0.4793, allocations: 165.3 kB / 0.5569 GB, free: 4.938 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.4794, allocations: 4 kB / 0.5569 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.4794, allocations: 4 kB / 0.5569 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.164e-05/0.4795, allocations: 15.92 kB / 0.557 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.4798, allocations: 39.92 kB / 0.557 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.4798, allocations: 7.938 kB / 0.557 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.48, allocations: 16.38 kB / 0.557 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.48, allocations: 12 kB / 0.557 GB, free: 4.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001291/0.4802, allocations: 108.9 kB / 0.5571 GB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.4804, allocations: 116.8 kB / 0.5573 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.4805, allocations: 116.5 kB / 0.5574 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001045/0.4806, allocations: 176.3 kB / 0.5575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001053/0.4807, allocations: 188.2 kB / 0.5577 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001063/0.4809, allocations: 182.1 kB / 0.5579 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.4813, allocations: 409.6 kB / 0.5583 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.589e-05/0.4814, allocations: 105 kB / 0.5584 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.4815, allocations: 104.9 kB / 0.5585 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.4816, allocations: 184.2 kB / 0.5587 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.4817, allocations: 180.3 kB / 0.5588 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-05/0.4818, allocations: 180.2 kB / 0.559 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001063/0.482, allocations: 180.3 kB / 0.5592 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002634/0.4822, allocations: 319.6 kB / 0.5595 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.4825, allocations: 193.9 kB / 0.5597 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.4826, allocations: 180.5 kB / 0.5598 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.4828, allocations: 108.9 kB / 0.5599 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4829, allocations: 184.3 kB / 0.5601 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-05/0.4831, allocations: 104.9 kB / 0.5602 GB, free: 1.379 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002455/0.4833, allocations: 128.1 kB / 0.5603 GB, free: 1.254 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006775/0.484, allocations: 12 kB / 0.5603 GB, free: 1.242 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 (0): * Single equations (assignments): 0 * 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.0007273/0.4848, allocations: 270.7 kB / 0.5606 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.4851, allocations: 55.86 kB / 0.5607 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4851, allocations: 4 kB / 0.5607 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.4851, allocations: 0 / 0.5607 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.4857, allocations: 0.5276 MB / 0.5612 GB, free: 412 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.4862, allocations: 224.3 kB / 0.5614 GB, free: 156 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/0.4868, allocations: 0.7235 MB / 0.5621 GB, free: 15.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.4868, allocations: 0 / 0.5621 GB, free: 15.4 MB / 410.7 MB Notification: Performance of Templates: time 0.005251/0.4921, allocations: 1.28 MB / 0.5633 GB, free: 14.12 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches