Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002304/0.002304, allocations: 182.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2817/0.2817, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.286e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1209, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4917/0.6127, allocations: 87.89 MB / 0.5586 GB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.613, allocations: 71.25 kB / 0.5587 GB, free: 15.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03854/0.6515, allocations: 8.813 MB / 0.5673 GB, free: 8.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6516, allocations: 0 / 0.5673 GB, free: 8.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.844e-05/0.6517, allocations: 12 kB / 0.5673 GB, free: 8.113 MB / 378.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.001177/0.6528, allocations: 0.6377 MB / 0.5679 GB, free: 7.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.6529, allocations: 8.031 kB / 0.5679 GB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.6531, allocations: 58.94 kB / 0.568 GB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.6542, allocations: 468.2 kB / 0.5684 GB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.6543, allocations: 7.375 kB / 0.5684 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.6544, allocations: 19.23 kB / 0.5685 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.6547, allocations: 121.7 kB / 0.5686 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.6547, allocations: 0 / 0.5686 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.6548, allocations: 3.562 kB / 0.5686 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.6548, allocations: 7.953 kB / 0.5686 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.655, allocations: 68.62 kB / 0.5687 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.6569, allocations: 0.7308 MB / 0.5694 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.6573, allocations: 106.7 kB / 0.5695 GB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.6574, allocations: 47.64 kB / 0.5695 GB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.6575, allocations: 0 / 0.5695 GB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.6575, allocations: 42.12 kB / 0.5696 GB, free: 5.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/0.6575, allocations: 0 / 0.5696 GB, free: 5.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002404/0.6599, allocations: 0.5526 MB / 0.5701 GB, free: 5.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.66, allocations: 81.05 kB / 0.5702 GB, free: 5.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.6618, allocations: 0.7829 MB / 0.5709 GB, free: 4.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.6619, allocations: 28.7 kB / 0.571 GB, free: 4.613 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.6621, allocations: 264.3 kB / 0.5712 GB, free: 4.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.645e-05/0.6622, allocations: 69.56 kB / 0.5713 GB, free: 4.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.6623, allocations: 3.25 kB / 0.5713 GB, free: 4.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6624, allocations: 318.4 kB / 0.5716 GB, free: 4.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.6626, allocations: 56.8 kB / 0.5716 GB, free: 4.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.6629, allocations: 70.52 kB / 0.5717 GB, free: 3.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.6631, allocations: 61.17 kB / 0.5718 GB, free: 3.945 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6631, allocations: 3.938 kB / 0.5718 GB, free: 3.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005639/0.6637, allocations: 188.2 kB / 0.572 GB, free: 3.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.6637, allocations: 7.953 kB / 0.572 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.6637, allocations: 0.5 kB / 0.572 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.6638, allocations: 4 kB / 0.572 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.6643, allocations: 63.83 kB / 0.572 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.6644, allocations: 11.94 kB / 0.572 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.6648, allocations: 30.97 kB / 0.5721 GB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.6649, allocations: 4 kB / 0.5721 GB, free: 3.684 MB / 378.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 0.0001237/0.665, allocations: 112.4 kB / 0.5722 GB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.6653, allocations: 55.33 kB / 0.5722 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/0.6662, allocations: 292.8 kB / 0.5725 GB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.6662, allocations: 4 kB / 0.5725 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.6662, allocations: 0 / 0.5725 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6662, allocations: 0 / 0.5725 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.6682, allocations: 0.9023 MB / 0.5734 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6682, allocations: 0 / 0.5734 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.6688, allocations: 59.94 kB / 0.5735 GB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.6688, allocations: 4 kB / 0.5735 GB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.6688, allocations: 3.938 kB / 0.5735 GB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6688, allocations: 4 kB / 0.5735 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6689, allocations: 0 / 0.5735 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008289/0.6697, allocations: 430.3 kB / 0.5739 GB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.6701, allocations: 178.7 kB / 0.574 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.6702, allocations: 7.938 kB / 0.5741 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/0.6707, allocations: 35.22 kB / 0.5741 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.6708, allocations: 19.47 kB / 0.5741 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.6708, allocations: 11.98 kB / 0.5741 GB, free: 1.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001324/0.6722, allocations: 0.619 MB / 0.5747 GB, free: 1.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.6722, allocations: 0 / 0.5747 GB, free: 1.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006579/0.6729, allocations: 75.47 kB / 0.5748 GB, free: 1.242 MB / 378.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.001149/0.674, allocations: 377.4 kB / 0.5752 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005464/0.6746, allocations: 155.1 kB / 0.5753 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6746, allocations: 0 / 0.5753 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.6749, allocations: 95.09 kB / 0.5754 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.6756, allocations: 73.94 kB / 0.5755 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.6778, allocations: 0.7791 MB / 0.5762 GB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.6785, allocations: 0.8687 MB / 0.5771 GB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.6788, allocations: 54.22 kB / 0.5771 GB, free: 15.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6788, allocations: 3.938 kB / 0.5771 GB, free: 15.04 MB / 394.7 MB Notification: Performance of Templates: time 0.01569/0.6945, allocations: 6.166 MB / 0.5831 GB, free: 8.902 MB / 394.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/jenkins1/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