Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23") [: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.001639/0.001639, allocations: 171.6 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.667/1.667, 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.001221/0.001221, allocations: 98.61 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.2617/0.2617, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.114e-05/1.133e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2955, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.4578, allocations: 87.16 MB / 0.5505 GB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.4581, allocations: 71.97 kB / 0.5506 GB, free: 11.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04031/0.4984, allocations: 8.39 MB / 0.5587 GB, free: 3.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.481e-05/0.4985, allocations: 8 kB / 0.5588 GB, free: 3.441 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001175/0.4997, allocations: 0.6394 MB / 0.5594 GB, free: 2.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4998, allocations: 8.031 kB / 0.5594 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.4999, allocations: 59.25 kB / 0.5594 GB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.5011, allocations: 474.9 kB / 0.5599 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.5011, allocations: 8 kB / 0.5599 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.5012, allocations: 8 kB / 0.5599 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003131/0.5015, allocations: 67.88 kB / 0.56 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.5019, allocations: 107.3 kB / 0.5601 GB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.5019, allocations: 4 kB / 0.5601 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.5019, allocations: 0 / 0.5601 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5019, allocations: 0 / 0.5601 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.5038, allocations: 0.6962 MB / 0.5608 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.5041, allocations: 97.2 kB / 0.5609 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.5043, allocations: 45.84 kB / 0.5609 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.5043, allocations: 3.984 kB / 0.5609 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.5044, allocations: 42.56 kB / 0.5609 GB, free: 1.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.474e-06/0.5044, allocations: 224 / 0.5609 GB, free: 1.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.003437/0.5078, allocations: 0.5251 MB / 0.5615 GB, free: 500 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.508, allocations: 81.3 kB / 0.5615 GB, free: 400 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.5098, allocations: 0.7523 MB / 0.5623 GB, free: 15.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.5099, allocations: 29.64 kB / 0.5623 GB, free: 15.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.51, allocations: 166.7 kB / 0.5625 GB, free: 15.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.704e-05/0.5101, allocations: 59.11 kB / 0.5625 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.5101, allocations: 0 / 0.5625 GB, free: 15.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5103, allocations: 326.7 kB / 0.5628 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.5105, allocations: 48 kB / 0.5629 GB, free: 15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.5107, allocations: 81.14 kB / 0.5629 GB, free: 14.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.5109, allocations: 55.97 kB / 0.563 GB, free: 14.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.511, allocations: 3.938 kB / 0.563 GB, free: 14.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005889/0.5116, allocations: 173.5 kB / 0.5632 GB, free: 14.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.5116, allocations: 7.281 kB / 0.5632 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.5116, allocations: 0 / 0.5632 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5116, allocations: 0 / 0.5632 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.5123, allocations: 71.94 kB / 0.5632 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5123, allocations: 7.938 kB / 0.5633 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.5127, allocations: 27.98 kB / 0.5633 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.5127, allocations: 7.984 kB / 0.5633 GB, free: 14.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 9.428e-05/0.5128, allocations: 27.11 kB / 0.5633 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/0.5131, allocations: 55.44 kB / 0.5634 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.5142, allocations: 286 kB / 0.5636 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.5142, allocations: 4 kB / 0.5636 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.5142, allocations: 3.906 kB / 0.5636 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.5142, allocations: 3.984 kB / 0.5636 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.5163, allocations: 0.8454 MB / 0.5645 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5164, allocations: 4 kB / 0.5645 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.517, allocations: 59.95 kB / 0.5645 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.517, allocations: 4 kB / 0.5645 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.5171, allocations: 11.98 kB / 0.5646 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.5171, allocations: 7.875 kB / 0.5646 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5171, allocations: 0 / 0.5646 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008381/0.5179, allocations: 411.6 kB / 0.565 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.5183, allocations: 176.4 kB / 0.5651 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.5184, allocations: 4.375 kB / 0.5651 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.519, allocations: 31.97 kB / 0.5652 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/0.5191, allocations: 20.34 kB / 0.5652 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.5191, allocations: 15.98 kB / 0.5652 GB, free: 12.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001352/0.5205, allocations: 0.5925 MB / 0.5658 GB, free: 11.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006718/0.5212, allocations: 72 kB / 0.5658 GB, free: 11.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0009207/0.5222, allocations: 306.1 kB / 0.5661 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005594/0.5227, allocations: 143.9 kB / 0.5663 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5228, allocations: 8 kB / 0.5663 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.523, allocations: 87.86 kB / 0.5664 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008867/0.5239, allocations: 73.77 kB / 0.5664 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.5267, allocations: 0.7672 MB / 0.5672 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.5278, allocations: 0.9191 MB / 0.5681 GB, free: 9.535 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5279, allocations: 0 / 0.5681 GB, free: 9.535 MB / 410.7 MB Notification: Performance of Templates: time 0.01558/0.5434, allocations: 6.109 MB / 0.574 GB, free: 3.422 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches