Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 171.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009247/0.0009244, allocations: 98.25 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.216e-05, allocations: 8.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.483, allocations: 88.56 MB / 0.5812 GB, free: 7.941 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4833, allocations: 71.97 kB / 0.5812 GB, free: 7.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01545/0.4988, allocations: 5.607 MB / 0.5867 GB, free: 2.273 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4989, allocations: 0 / 0.5867 GB, free: 2.273 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.4989, allocations: 2.953 kB / 0.5867 GB, free: 2.273 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004157/0.4993, allocations: 406.2 kB / 0.5871 GB, free: 1.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.4993, allocations: 15.98 kB / 0.5871 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.4994, allocations: 7.906 kB / 0.5871 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.4997, allocations: 215.5 kB / 0.5873 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4997, allocations: 7.953 kB / 0.5873 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.4998, allocations: 0 / 0.5873 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.092e-05/0.4998, allocations: 19.98 kB / 0.5874 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.768e-05/0.4999, allocations: 53.62 kB / 0.5874 GB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5, allocations: 0 / 0.5874 GB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.5, allocations: 3.938 kB / 0.5874 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.5, allocations: 0 / 0.5874 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.5003, allocations: 281.4 kB / 0.5877 GB, free: 1.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.448e-05/0.5004, allocations: 46.69 kB / 0.5877 GB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.5005, allocations: 16.98 kB / 0.5877 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.5005, allocations: 0 / 0.5877 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.5006, allocations: 67.33 kB / 0.5878 GB, free: 1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.5006, allocations: 0 / 0.5878 GB, free: 1 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004004/0.501, allocations: 145.3 kB / 0.5879 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.5011, allocations: 55.34 kB / 0.588 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.5013, allocations: 183.6 kB / 0.5882 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.5013, allocations: 25.7 kB / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.5013, allocations: 104.1 kB / 0.5883 GB, free: 468 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.5014, allocations: 27.64 kB / 0.5883 GB, free: 440 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.5014, allocations: 0 / 0.5883 GB, free: 440 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5015, allocations: 322.8 kB / 0.5886 GB, free: 108 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.343e-05/0.5015, allocations: 20.75 kB / 0.5887 GB, free: 88 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/0.5016, allocations: 29.72 kB / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.148e-05/0.5016, allocations: 27.94 kB / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5017, allocations: 192 / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001499/0.5018, allocations: 89.58 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.5018, allocations: 11.88 kB / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5018, allocations: 0 / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.5019, allocations: 0 / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.5019, allocations: 20.03 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.502, allocations: 0 / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.502, allocations: 7.984 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.502, allocations: 0 / 0.5888 GB, free: 15.89 MB / 410.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: 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 8.185e-05/0.5021, allocations: 119.5 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.5021, allocations: 11.81 kB / 0.589 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.5024, allocations: 103.5 kB / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5024, allocations: 7.984 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5024, allocations: 4 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5024, allocations: 0 / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.5028, allocations: 388.2 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.5028, allocations: 4 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.5028, allocations: 15.88 kB / 0.5895 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5028, allocations: 4 kB / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.5029, allocations: 0 / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5029, allocations: 0 / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5029, allocations: 4 kB / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.5031, allocations: 222 kB / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.5031, allocations: 89.02 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.5032, allocations: 4 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.5033, allocations: 3.984 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.5033, allocations: 4 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.5033, allocations: 12 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.5034, allocations: 144 kB / 0.5899 GB, free: 14.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5034, allocations: 0 / 0.5899 GB, free: 14.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.5037, allocations: 31.92 kB / 0.59 GB, free: 14.64 MB / 410.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: 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.0008174/0.5045, allocations: 390.6 kB / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.5047, allocations: 47.94 kB / 0.5904 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5047, allocations: 0 / 0.5904 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.5047, allocations: 35.92 kB / 0.5904 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.505, allocations: 28.06 kB / 0.5904 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.5053, allocations: 165.5 kB / 0.5906 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.5057, allocations: 0.7157 MB / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.629e-05/0.5057, allocations: 28.69 kB / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.5058, allocations: 23.38 kB / 0.5913 GB, free: 13.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5058, allocations: 3.938 kB / 0.5913 GB, free: 13.25 MB / 410.7 MB Notification: Performance of Templates: time 0.003966/0.5097, allocations: 1.635 MB / 0.5929 GB, free: 11.62 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches