Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002335/0.002339, allocations: 185.3 kB / 16.41 MB, free: 5.727 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.896/1.896, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001144/0.001143, allocations: 98.84 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5106/0.5106, allocations: 43.56 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004647, allocations: 12 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.569, allocations: 87.47 MB / 0.5642 GB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.5693, allocations: 75.97 kB / 0.5642 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01908/0.5884, allocations: 4.595 MB / 0.5687 GB, free: 10.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5885, allocations: 0 / 0.5687 GB, free: 10.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.5885, allocations: 0 / 0.5687 GB, free: 10.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006134/0.5891, allocations: 399.1 kB / 0.5691 GB, free: 10.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5892, allocations: 8.562 kB / 0.5691 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.5892, allocations: 15.33 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.5895, allocations: 199.4 kB / 0.5693 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5895, allocations: 4 kB / 0.5693 GB, free: 9.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.5896, allocations: 4 kB / 0.5693 GB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.5899, allocations: 80.34 kB / 0.5694 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5899, allocations: 1.125 kB / 0.5694 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.5899, allocations: 4.969 kB / 0.5694 GB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5899, allocations: 4 kB / 0.5694 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.5902, allocations: 43.97 kB / 0.5694 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.5908, allocations: 312.8 kB / 0.5697 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.591, allocations: 58.5 kB / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.5911, allocations: 0 / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.5911, allocations: 34.64 kB / 0.5698 GB, free: 9.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.5911, allocations: 0 / 0.5698 GB, free: 9.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001323/0.5924, allocations: 265.1 kB / 0.5701 GB, free: 8.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.5925, allocations: 81.09 kB / 0.5702 GB, free: 8.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.5928, allocations: 128.1 kB / 0.5703 GB, free: 8.691 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.5928, allocations: 28.61 kB / 0.5703 GB, free: 8.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.5929, allocations: 166.5 kB / 0.5705 GB, free: 8.496 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.5929, allocations: 23.66 kB / 0.5705 GB, free: 8.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.593, allocations: 0 / 0.5705 GB, free: 8.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5931, allocations: 319.2 kB / 0.5708 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.5933, allocations: 43.95 kB / 0.5708 GB, free: 8.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.5936, allocations: 65.75 kB / 0.5709 GB, free: 8.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.5939, allocations: 52.06 kB / 0.5709 GB, free: 7.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5939, allocations: 4 kB / 0.571 GB, free: 7.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005588/0.5945, allocations: 133.6 kB / 0.5711 GB, free: 7.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.5945, allocations: 8 kB / 0.5711 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5945, allocations: 0 / 0.5711 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5946, allocations: 3.953 kB / 0.5711 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.5948, allocations: 27.8 kB / 0.5711 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.5948, allocations: 0 / 0.5711 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.595, allocations: 19.98 kB / 0.5711 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.595, allocations: 0 / 0.5711 GB, free: 7.793 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001307/0.5951, allocations: 117.8 kB / 0.5712 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.5952, allocations: 11.89 kB / 0.5713 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006152/0.5958, allocations: 154.3 kB / 0.5714 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5958, allocations: 0 / 0.5714 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5958, allocations: 3.953 kB / 0.5714 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.5959, allocations: 3.984 kB / 0.5714 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009244/0.5968, allocations: 422.5 kB / 0.5718 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.5968, allocations: 3.938 kB / 0.5718 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.597, allocations: 27.92 kB / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.597, allocations: 0 / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.597, allocations: 11.95 kB / 0.5719 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.5971, allocations: 3.984 kB / 0.5719 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5971, allocations: 0 / 0.5719 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.5977, allocations: 235.4 kB / 0.5721 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.5977, allocations: 90.03 kB / 0.5722 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.5978, allocations: 0 / 0.5722 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.598, allocations: 19.94 kB / 0.5722 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.598, allocations: 8.266 kB / 0.5722 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.5981, allocations: 4 kB / 0.5722 GB, free: 6.594 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001391/0.5982, allocations: 123.2 kB / 0.5723 GB, free: 6.473 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5982, allocations: 3.938 kB / 0.5723 GB, free: 6.469 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003925/0.5986, allocations: 31.94 kB / 0.5724 GB, free: 6.438 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001267/0.5999, allocations: 459 kB / 0.5728 GB, free: 6.086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005894/0.6005, allocations: 107.9 kB / 0.5729 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6006, allocations: 0 / 0.5729 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.6008, allocations: 63.89 kB / 0.573 GB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.6011, allocations: 15.98 kB / 0.573 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.6018, allocations: 241 kB / 0.5732 GB, free: 5.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.6021, allocations: 0.7004 MB / 0.5739 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.6022, allocations: 19.42 kB / 0.5739 GB, free: 4.895 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6022, allocations: 0 / 0.5739 GB, free: 4.895 MB / 394.7 MB Notification: Performance of Templates: time 0.005305/0.6075, allocations: 1.859 MB / 0.5757 GB, free: 3.035 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches