Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 180.6 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.034/2.034, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001026/0.001026, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.2739/0.2739, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.896e-05, allocations: 0 / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4769/0.5869, allocations: 86.77 MB / 0.5575 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.5872, allocations: 72.06 kB / 0.5576 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02915/0.6164, allocations: 7.689 MB / 0.5651 GB, free: 9.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6164, allocations: 4 kB / 0.5651 GB, free: 9.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.398e-05/0.6165, allocations: 4 kB / 0.5651 GB, free: 9.898 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007179/0.6172, allocations: 0.5534 MB / 0.5657 GB, free: 9.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.6173, allocations: 8.031 kB / 0.5657 GB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.6174, allocations: 50.52 kB / 0.5657 GB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.618, allocations: 317.7 kB / 0.566 GB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.6181, allocations: 11.25 kB / 0.566 GB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.6181, allocations: 0 / 0.566 GB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.6182, allocations: 48.45 kB / 0.5661 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6183, allocations: 0 / 0.5661 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.6183, allocations: 0 / 0.5661 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.6183, allocations: 0 / 0.5661 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.941e-05/0.6184, allocations: 29.86 kB / 0.5661 GB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007833/0.6192, allocations: 428.5 kB / 0.5665 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.6194, allocations: 41.56 kB / 0.5666 GB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.6195, allocations: 16.23 kB / 0.5666 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.6195, allocations: 0 / 0.5666 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6195, allocations: 34.52 kB / 0.5666 GB, free: 8.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.532e-06/0.6195, allocations: 0 / 0.5666 GB, free: 8.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006305/0.6202, allocations: 199.6 kB / 0.5668 GB, free: 8.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.6202, allocations: 55.41 kB / 0.5668 GB, free: 8.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.6223, allocations: 0.781 MB / 0.5676 GB, free: 7.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.6224, allocations: 25.7 kB / 0.5676 GB, free: 7.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.6226, allocations: 238.2 kB / 0.5679 GB, free: 7.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.6226, allocations: 15.73 kB / 0.5679 GB, free: 7.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.6227, allocations: 6.875 kB / 0.5679 GB, free: 7.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6228, allocations: 310.8 kB / 0.5682 GB, free: 6.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.6229, allocations: 7.062 kB / 0.5682 GB, free: 6.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-05/0.6229, allocations: 10.75 kB / 0.5682 GB, free: 6.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.042e-05/0.623, allocations: 21.83 kB / 0.5682 GB, free: 6.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.623, allocations: 0 / 0.5682 GB, free: 6.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001696/0.6232, allocations: 56.06 kB / 0.5683 GB, free: 6.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.6232, allocations: 15.33 kB / 0.5683 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.6232, allocations: 4 kB / 0.5683 GB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6232, allocations: 0 / 0.5683 GB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.6234, allocations: 19.17 kB / 0.5683 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.6234, allocations: 0 / 0.5683 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.6236, allocations: 8 kB / 0.5683 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.6236, allocations: 4.25 kB / 0.5683 GB, free: 6.828 MB / 378.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 (5): * Single equations (assignments): 5 * 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 8.639e-05/0.6237, allocations: 105 kB / 0.5684 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.6239, allocations: 43.44 kB / 0.5685 GB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.6242, allocations: 127.1 kB / 0.5686 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6243, allocations: 0 / 0.5686 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.6243, allocations: 0 / 0.5686 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.6243, allocations: 0 / 0.5686 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.6254, allocations: 0.5624 MB / 0.5691 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.6254, allocations: 7.938 kB / 0.5691 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.6255, allocations: 12 kB / 0.5692 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.6256, allocations: 0 / 0.5692 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.6256, allocations: 3.562 kB / 0.5692 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.6256, allocations: 0 / 0.5692 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6256, allocations: 0 / 0.5692 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.6259, allocations: 197 kB / 0.5693 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.6262, allocations: 166.2 kB / 0.5695 GB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.6263, allocations: 0 / 0.5695 GB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.6264, allocations: 11.98 kB / 0.5695 GB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.6265, allocations: 0 / 0.5695 GB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.6265, allocations: 11.31 kB / 0.5695 GB, free: 5.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.6277, allocations: 0.6293 MB / 0.5701 GB, free: 5.152 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.6277, allocations: 0 / 0.5701 GB, free: 5.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004594/0.6281, allocations: 67.48 kB / 0.5702 GB, free: 5.09 MB / 378.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 (5): * Single equations (assignments): 5 * 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.001087/0.6292, allocations: 365 kB / 0.5706 GB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.6294, allocations: 27.23 kB / 0.5706 GB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6294, allocations: 0 / 0.5706 GB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.421e-05/0.6295, allocations: 19.69 kB / 0.5706 GB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.6299, allocations: 34.58 kB / 0.5706 GB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.6316, allocations: 0.7462 MB / 0.5714 GB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.6322, allocations: 0.8314 MB / 0.5722 GB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.6323, allocations: 23.31 kB / 0.5722 GB, free: 3.164 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6324, allocations: 0 / 0.5722 GB, free: 3.164 MB / 378.7 MB Notification: Performance of Templates: time 0.01206/0.6444, allocations: 4.237 MB / 0.5763 GB, free: 14.93 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches