Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009481/0.0009482, allocations: 183.4 kB / 18.09 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.3 MB / 242.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007589/0.0007589, allocations: 100.5 kB / 293.3 MB, free: 10.79 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.3302/0.3302, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004028, allocations: 16 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3516, allocations: 61.89 MB / 0.5107 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.4717, allocations: 89.32 MB / 0.598 GB, free: 5.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.472, allocations: 79.95 kB / 0.598 GB, free: 5.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.4866, allocations: 5.585 MB / 0.6035 GB, free: 112 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4867, allocations: 0 / 0.6035 GB, free: 112 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.4867, allocations: 15.92 kB / 0.6035 GB, free: 96 kB / 410.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.0005732/0.4873, allocations: 411 kB / 0.6039 GB, free: 15.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4873, allocations: 12.03 kB / 0.6039 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.4874, allocations: 8.844 kB / 0.6039 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.4877, allocations: 225 kB / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4877, allocations: 384 / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.4878, allocations: 4.375 kB / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.4879, allocations: 62.22 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4879, allocations: 192 / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.4879, allocations: 11.88 kB / 0.6042 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.488, allocations: 0 / 0.6042 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.552e-05/0.488, allocations: 19.98 kB / 0.6042 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.4884, allocations: 281 kB / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.4886, allocations: 70.55 kB / 0.6046 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.4887, allocations: 28.78 kB / 0.6046 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.4887, allocations: 0 / 0.6046 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.4889, allocations: 67.39 kB / 0.6047 GB, free: 14.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.4889, allocations: 0 / 0.6047 GB, free: 14.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005662/0.4894, allocations: 173.5 kB / 0.6048 GB, free: 14.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.4895, allocations: 55.41 kB / 0.6049 GB, free: 14.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.4897, allocations: 184 kB / 0.6051 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4897, allocations: 29.7 kB / 0.6051 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.4897, allocations: 100.1 kB / 0.6052 GB, free: 14.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.4898, allocations: 27.64 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.4898, allocations: 4 kB / 0.6052 GB, free: 14.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4899, allocations: 327 kB / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.49, allocations: 16 kB / 0.6055 GB, free: 13.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.123e-05/0.49, allocations: 41.7 kB / 0.6056 GB, free: 13.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.4902, allocations: 61.62 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4902, allocations: 0 / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002191/0.4904, allocations: 109.4 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4904, allocations: 4 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4904, allocations: 4 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4905, allocations: 4.031 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.4906, allocations: 20.05 kB / 0.6058 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.4906, allocations: 0 / 0.6058 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.4906, allocations: 8 kB / 0.6058 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.4906, allocations: 4 kB / 0.6058 GB, free: 13.54 MB / 426.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 () * Number of clocked 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.0001001/0.4907, allocations: 128.2 kB / 0.6059 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.4908, allocations: 7.906 kB / 0.6059 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.491, allocations: 122.2 kB / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.491, allocations: 8 kB / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4911, allocations: 0 / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4911, allocations: 288 / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.4915, allocations: 411.2 kB / 0.6064 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4915, allocations: 0 / 0.6064 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.4916, allocations: 19.86 kB / 0.6064 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4916, allocations: 0 / 0.6064 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4916, allocations: 8 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4916, allocations: 4.031 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4916, allocations: 7.922 kB / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.4919, allocations: 212.1 kB / 0.6067 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.492, allocations: 93 kB / 0.6068 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.492, allocations: 4 kB / 0.6068 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.4921, allocations: 4 kB / 0.6068 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.4921, allocations: 15.92 kB / 0.6068 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.4921, allocations: 0 / 0.6068 GB, free: 12.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.4923, allocations: 148.9 kB / 0.6069 GB, free: 12.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4923, allocations: 0 / 0.6069 GB, free: 12.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.4925, allocations: 31.94 kB / 0.6069 GB, free: 12.23 MB / 426.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) * Number of clocked states: 0 () * 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.001093/0.4936, allocations: 480.8 kB / 0.6074 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.4938, allocations: 55.92 kB / 0.6075 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4939, allocations: 0 / 0.6075 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.4939, allocations: 35.92 kB / 0.6075 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.4943, allocations: 39.53 kB / 0.6075 GB, free: 11.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.4948, allocations: 242.5 kB / 0.6078 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.4951, allocations: 0.7121 MB / 0.6085 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.4951, allocations: 16.56 kB / 0.6085 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.4952, allocations: 19.42 kB / 0.6085 GB, free: 10.76 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4952, allocations: 0 / 0.6085 GB, free: 10.76 MB / 426.7 MB Notification: Performance of Templates: time 0.004453/0.4996, allocations: 1.702 MB / 0.6102 GB, free: 9.082 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches