Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002272/0.002272, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002332/0.002333, allocations: 105.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2934/0.2934, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.658e-05/1.665e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3982, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.5613, allocations: 87.29 MB / 0.5511 GB, free: 12.03 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.5616, allocations: 79.45 kB / 0.5512 GB, free: 11.96 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04743/0.609, allocations: 8.333 MB / 0.5594 GB, free: 3.609 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6091, allocations: 0 / 0.5594 GB, free: 3.609 MB / 395.1 MB Notification: Performance of Transformations before backend: time 6.526e-05/0.6092, allocations: 16 kB / 0.5594 GB, free: 3.594 MB / 395.1 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.001405/0.6106, allocations: 0.6103 MB / 0.56 GB, free: 2.938 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.6107, allocations: 8.031 kB / 0.56 GB, free: 2.93 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.611, allocations: 59.3 kB / 0.56 GB, free: 2.871 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.6126, allocations: 463 kB / 0.5605 GB, free: 2.379 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.6127, allocations: 4 kB / 0.5605 GB, free: 2.375 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.6127, allocations: 4 kB / 0.5605 GB, free: 2.371 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003059/0.6131, allocations: 55.98 kB / 0.5605 GB, free: 2.316 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.6135, allocations: 109 kB / 0.5606 GB, free: 2.199 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.6135, allocations: 4 kB / 0.5606 GB, free: 2.195 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.6135, allocations: 7.938 kB / 0.5607 GB, free: 2.188 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.6136, allocations: 0 / 0.5607 GB, free: 2.188 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.6157, allocations: 0.6689 MB / 0.5613 GB, free: 1.477 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.616, allocations: 97.19 kB / 0.5614 GB, free: 1.363 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.6162, allocations: 29.84 kB / 0.5614 GB, free: 1.328 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.6163, allocations: 8 kB / 0.5614 GB, free: 1.32 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.6163, allocations: 34.5 kB / 0.5615 GB, free: 1.277 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 4.168e-06/0.6163, allocations: 0 / 0.5615 GB, free: 1.277 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.002156/0.6185, allocations: 418.1 kB / 0.5619 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.6186, allocations: 89.09 kB / 0.5619 GB, free: 0.7539 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.6207, allocations: 0.7404 MB / 0.5627 GB, free: 8 kB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 8.538e-05/0.6208, allocations: 25.7 kB / 0.5627 GB, free: 15.98 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.6211, allocations: 266.7 kB / 0.563 GB, free: 15.71 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.686e-05/0.6213, allocations: 51.27 kB / 0.563 GB, free: 15.66 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.6213, allocations: 0 / 0.563 GB, free: 15.66 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.6215, allocations: 314.8 kB / 0.5633 GB, free: 15.34 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.6217, allocations: 43.92 kB / 0.5633 GB, free: 15.3 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.6219, allocations: 49.72 kB / 0.5634 GB, free: 15.25 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.6221, allocations: 43.97 kB / 0.5634 GB, free: 15.2 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6221, allocations: 0 / 0.5634 GB, free: 15.2 MB / 411.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005597/0.6227, allocations: 130 kB / 0.5636 GB, free: 15.07 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.6227, allocations: 4 kB / 0.5636 GB, free: 15.07 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.6228, allocations: 0 / 0.5636 GB, free: 15.07 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.6228, allocations: 0 / 0.5636 GB, free: 15.07 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.6233, allocations: 47.97 kB / 0.5636 GB, free: 15.02 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.6233, allocations: 4 kB / 0.5636 GB, free: 15.02 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.6238, allocations: 15.98 kB / 0.5636 GB, free: 15 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.6239, allocations: 4 kB / 0.5636 GB, free: 15 MB / 411.1 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 (16): * Single equations (assignments): 16 * 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.0001503/0.624, allocations: 112.9 kB / 0.5637 GB, free: 14.88 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.6243, allocations: 55.25 kB / 0.5638 GB, free: 14.82 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009889/0.6253, allocations: 222.4 kB / 0.564 GB, free: 14.59 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.6254, allocations: 4 kB / 0.564 GB, free: 14.59 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6254, allocations: 0 / 0.564 GB, free: 14.59 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6254, allocations: 0 / 0.564 GB, free: 14.59 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.628, allocations: 0.7715 MB / 0.5648 GB, free: 13.77 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.6281, allocations: 112 / 0.5648 GB, free: 13.77 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.6286, allocations: 43.91 kB / 0.5648 GB, free: 13.73 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.6286, allocations: 0 / 0.5648 GB, free: 13.73 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.6287, allocations: 7.938 kB / 0.5648 GB, free: 13.72 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.6287, allocations: 80 / 0.5648 GB, free: 13.72 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.6287, allocations: 3.984 kB / 0.5648 GB, free: 13.72 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009019/0.6296, allocations: 371.8 kB / 0.5652 GB, free: 13.33 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.6302, allocations: 176.4 kB / 0.5653 GB, free: 13.14 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6303, allocations: 4 kB / 0.5653 GB, free: 13.14 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.6308, allocations: 11.98 kB / 0.5653 GB, free: 13.12 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.631, allocations: 23.92 kB / 0.5654 GB, free: 13.1 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.631, allocations: 8 kB / 0.5654 GB, free: 13.09 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001652/0.6327, allocations: 0.5809 MB / 0.5659 GB, free: 12.52 MB / 411.1 MB Notification: Performance of sort global known variables: time 9.82e-07/0.6327, allocations: 3.938 kB / 0.5659 GB, free: 12.51 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0012/0.634, allocations: 71.92 kB / 0.566 GB, free: 12.44 MB / 411.1 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 (16): * Single equations (assignments): 16 * 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.001414/0.6354, allocations: 335.8 kB / 0.5663 GB, free: 12.16 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004794/0.6359, allocations: 111.9 kB / 0.5664 GB, free: 12.05 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6359, allocations: 0 / 0.5664 GB, free: 12.05 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.6362, allocations: 55.94 kB / 0.5665 GB, free: 11.99 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6372, allocations: 60.89 kB / 0.5666 GB, free: 11.94 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.6399, allocations: 0.7214 MB / 0.5673 GB, free: 11.18 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008723/0.6408, allocations: 0.8692 MB / 0.5681 GB, free: 10.29 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.6413, allocations: 51.3 kB / 0.5682 GB, free: 10.23 MB / 411.1 MB Notification: Performance of SimCode: time 1.363e-06/0.6413, allocations: 0 / 0.5682 GB, free: 10.23 MB / 411.1 MB Notification: Performance of Templates: time 0.01935/0.6607, allocations: 5.662 MB / 0.5737 GB, free: 4.57 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches