Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 181.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 1.966/1.966, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001115/0.001115, allocations: 90.64 kB / 267.5 MB, free: 14.1 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.2754/0.2754, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.468e-05, allocations: 7.984 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 58.84 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.576, allocations: 88.5 MB / 0.5592 GB, free: 15.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.5763, allocations: 76.31 kB / 0.5593 GB, free: 15.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03469/0.611, allocations: 8.382 MB / 0.5675 GB, free: 7.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.6111, allocations: 0 / 0.5675 GB, free: 7.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.381e-05/0.6111, allocations: 15.92 kB / 0.5675 GB, free: 7.934 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007826/0.6119, allocations: 0.545 MB / 0.568 GB, free: 7.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.612, allocations: 8.031 kB / 0.568 GB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.6121, allocations: 47.47 kB / 0.5681 GB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/0.6128, allocations: 336.5 kB / 0.5684 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.6128, allocations: 7.938 kB / 0.5684 GB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.6129, allocations: 14.91 kB / 0.5684 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.6131, allocations: 100.5 kB / 0.5685 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6132, allocations: 0 / 0.5685 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.6132, allocations: 10.56 kB / 0.5685 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.6132, allocations: 4 kB / 0.5685 GB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.6134, allocations: 65.81 kB / 0.5686 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008882/0.6143, allocations: 0.4958 MB / 0.5691 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.6145, allocations: 87.06 kB / 0.5692 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.6146, allocations: 28.02 kB / 0.5692 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.6147, allocations: 3.938 kB / 0.5692 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.6147, allocations: 41.73 kB / 0.5692 GB, free: 6.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.6147, allocations: 3.938 kB / 0.5692 GB, free: 6.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001035/0.6158, allocations: 326.3 kB / 0.5695 GB, free: 5.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.6158, allocations: 59.39 kB / 0.5696 GB, free: 5.848 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000893/0.6167, allocations: 487.5 kB / 0.5701 GB, free: 5.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.6168, allocations: 32.95 kB / 0.5701 GB, free: 5.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.6169, allocations: 238.1 kB / 0.5703 GB, free: 5.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.617, allocations: 53.25 kB / 0.5704 GB, free: 5.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.617, allocations: 0 / 0.5704 GB, free: 5.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6171, allocations: 318.6 kB / 0.5707 GB, free: 4.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.6173, allocations: 38.44 kB / 0.5707 GB, free: 4.863 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.6174, allocations: 38.31 kB / 0.5707 GB, free: 4.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.6175, allocations: 61.06 kB / 0.5708 GB, free: 4.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.6175, allocations: 0 / 0.5708 GB, free: 4.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003338/0.6179, allocations: 141.1 kB / 0.5709 GB, free: 4.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6179, allocations: 4 kB / 0.5709 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6179, allocations: 3.938 kB / 0.5709 GB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6179, allocations: 0 / 0.5709 GB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.6182, allocations: 35.98 kB / 0.571 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.6182, allocations: 4 kB / 0.571 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.6184, allocations: 19.36 kB / 0.571 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.6184, allocations: 7.953 kB / 0.571 GB, free: 4.617 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 (17): * Single equations (assignments): 17 * 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.545e-05/0.6185, allocations: 112.5 kB / 0.5711 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.6186, allocations: 39.53 kB / 0.5712 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.6192, allocations: 211.9 kB / 0.5714 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.6192, allocations: 4 kB / 0.5714 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.6192, allocations: 0 / 0.5714 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6193, allocations: 4 kB / 0.5714 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.6204, allocations: 0.6593 MB / 0.572 GB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6205, allocations: 0 / 0.572 GB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.6207, allocations: 38.86 kB / 0.572 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.6207, allocations: 3.938 kB / 0.572 GB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.6207, allocations: 8 kB / 0.5721 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.6208, allocations: 3.953 kB / 0.5721 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6208, allocations: 0 / 0.5721 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.6212, allocations: 280.6 kB / 0.5723 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.6214, allocations: 138.7 kB / 0.5725 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.6215, allocations: 7.547 kB / 0.5725 GB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.6217, allocations: 8 kB / 0.5725 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.6218, allocations: 23.56 kB / 0.5725 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.6218, allocations: 4 kB / 0.5725 GB, free: 3.215 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006747/0.6225, allocations: 395.2 kB / 0.5729 GB, free: 2.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.124e-06/0.6225, allocations: 0 / 0.5729 GB, free: 2.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.623, allocations: 70.44 kB / 0.5729 GB, free: 2.852 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 (17): * Single equations (assignments): 17 * 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.001869/0.6248, allocations: 0.6272 MB / 0.5736 GB, free: 2.285 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.6252, allocations: 107.7 kB / 0.5737 GB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6252, allocations: 4 kB / 0.5737 GB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.6253, allocations: 68.77 kB / 0.5737 GB, free: 2.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.626, allocations: 69.56 kB / 0.5738 GB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.6273, allocations: 0.555 MB / 0.5743 GB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.6277, allocations: 0.8127 MB / 0.5751 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.6279, allocations: 42.73 kB / 0.5752 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.628, allocations: 0 / 0.5752 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of Templates: time 0.01081/0.6388, allocations: 4.655 MB / 0.5797 GB, free: 12.09 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches