Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 179.4 kB / 8.364 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 1.949/1.949, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001088/0.001088, allocations: 97.89 kB / 262.1 MB, free: 13.88 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.2946/0.2946, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.503e-05, allocations: 8 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3924, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.5528, allocations: 86.93 MB / 0.5508 GB, free: 12.39 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.5531, allocations: 75.25 kB / 0.5509 GB, free: 12.32 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03786/0.591, allocations: 5.24 MB / 0.556 GB, free: 7.086 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5911, allocations: 3.938 kB / 0.556 GB, free: 7.082 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.566e-05/0.5912, allocations: 0 / 0.556 GB, free: 7.082 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001527/0.5927, allocations: 390.2 kB / 0.5564 GB, free: 6.656 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.5928, allocations: 12.03 kB / 0.5564 GB, free: 6.645 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.714e-05/0.5929, allocations: 11.91 kB / 0.5564 GB, free: 6.633 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.5934, allocations: 217.6 kB / 0.5566 GB, free: 6.383 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.5934, allocations: 3.984 kB / 0.5566 GB, free: 6.379 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.5935, allocations: 4 kB / 0.5566 GB, free: 6.375 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.5936, allocations: 16 kB / 0.5566 GB, free: 6.359 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.5937, allocations: 49.67 kB / 0.5567 GB, free: 6.305 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5937, allocations: 0 / 0.5567 GB, free: 6.305 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.5938, allocations: 0 / 0.5567 GB, free: 6.305 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.5938, allocations: 0 / 0.5567 GB, free: 6.305 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.5943, allocations: 277.4 kB / 0.5569 GB, free: 5.996 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.5945, allocations: 50.69 kB / 0.557 GB, free: 5.938 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.5945, allocations: 20.97 kB / 0.557 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.5946, allocations: 0 / 0.557 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.5948, allocations: 75.27 kB / 0.5571 GB, free: 5.828 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 4.318e-06/0.5948, allocations: 0 / 0.5571 GB, free: 5.828 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006107/0.5954, allocations: 145.2 kB / 0.5572 GB, free: 5.68 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.5955, allocations: 55.41 kB / 0.5573 GB, free: 5.613 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.5957, allocations: 166.2 kB / 0.5574 GB, free: 5.445 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.5958, allocations: 29.7 kB / 0.5574 GB, free: 5.41 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.5959, allocations: 158.6 kB / 0.5576 GB, free: 5.254 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.5959, allocations: 19.72 kB / 0.5576 GB, free: 5.234 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-06/0.5959, allocations: 0 / 0.5576 GB, free: 5.234 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5961, allocations: 322.8 kB / 0.5579 GB, free: 4.91 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.809e-05/0.5962, allocations: 19.94 kB / 0.5579 GB, free: 4.891 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.5962, allocations: 29.72 kB / 0.558 GB, free: 4.855 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.5964, allocations: 23.98 kB / 0.558 GB, free: 4.832 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5964, allocations: 0 / 0.558 GB, free: 4.832 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002504/0.5967, allocations: 89.58 kB / 0.5581 GB, free: 4.738 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5967, allocations: 4 kB / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5967, allocations: 7.969 kB / 0.5581 GB, free: 4.727 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.5968, allocations: 4.172 kB / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.5969, allocations: 20 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.597, allocations: 0 / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.5971, allocations: 0 / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.5971, allocations: 7.953 kB / 0.5581 GB, free: 4.695 MB / 395.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001026/0.5972, allocations: 109 kB / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.5973, allocations: 7.906 kB / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.5976, allocations: 118.3 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5977, allocations: 0 / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5977, allocations: 4 kB / 0.5584 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5977, allocations: 0 / 0.5584 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.5983, allocations: 379.7 kB / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5983, allocations: 0 / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.653e-05/0.5984, allocations: 15.98 kB / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.5984, allocations: 288 / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.5985, allocations: 4.031 kB / 0.5587 GB, free: 4.012 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.5985, allocations: 4 kB / 0.5587 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/0.5985, allocations: 3.938 kB / 0.5587 GB, free: 4.004 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.5988, allocations: 213.9 kB / 0.5589 GB, free: 3.77 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.5989, allocations: 89 kB / 0.559 GB, free: 3.664 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.599, allocations: 4 kB / 0.559 GB, free: 3.66 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.5991, allocations: 7.938 kB / 0.559 GB, free: 3.652 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.5992, allocations: 19.88 kB / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.5992, allocations: 4 kB / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.5994, allocations: 140.1 kB / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5994, allocations: 0 / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004014/0.5998, allocations: 31.91 kB / 0.5592 GB, free: 3.461 MB / 395.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002404/0.6022, allocations: 393.3 kB / 0.5596 GB, free: 3.121 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.6027, allocations: 55.92 kB / 0.5597 GB, free: 3.066 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6027, allocations: 64 / 0.5597 GB, free: 3.066 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.6029, allocations: 31.94 kB / 0.5597 GB, free: 3.035 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.6036, allocations: 23.84 kB / 0.5597 GB, free: 3.012 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.6046, allocations: 195 kB / 0.5599 GB, free: 2.781 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.6053, allocations: 0.7041 MB / 0.5606 GB, free: 2.051 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.6055, allocations: 19.5 kB / 0.5606 GB, free: 2.031 MB / 395.1 MB Notification: Performance of SimCode: time 1.372e-06/0.6055, allocations: 4 kB / 0.5606 GB, free: 2.027 MB / 395.1 MB Notification: Performance of Templates: time 0.01372/0.6192, allocations: 1.92 MB / 0.5625 GB, free: 116 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches