Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000989/0.0009889, allocations: 169.7 kB / 8.74 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.302/1.302, allocations: 221.5 MB / 230.7 MB, free: 7.508 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.0008335/0.0008336, allocations: 93.08 kB / 281.6 MB, free: 5.266 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.1831/0.1831, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.629e-05/1.631e-05, allocations: 4.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 61.91 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.468, allocations: 88.52 MB / 0.5811 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4683, allocations: 71.97 kB / 0.5812 GB, free: 7.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01506/0.4834, allocations: 5.438 MB / 0.5865 GB, free: 2.484 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.4834, allocations: 0 / 0.5865 GB, free: 2.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.4834, allocations: 0.75 kB / 0.5865 GB, free: 2.484 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.0005/0.4839, allocations: 390.2 kB / 0.5869 GB, free: 2.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.484, allocations: 11.98 kB / 0.5869 GB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.484, allocations: 11.91 kB / 0.5869 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.4844, allocations: 214.7 kB / 0.5871 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.4844, allocations: 7.953 kB / 0.5871 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.4845, allocations: 4 kB / 0.5871 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.922e-05/0.4846, allocations: 15.98 kB / 0.5871 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.937e-05/0.4847, allocations: 53.61 kB / 0.5872 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4847, allocations: 0 / 0.5872 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.4847, allocations: 4 kB / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4848, allocations: 3.938 kB / 0.5872 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.4852, allocations: 269.4 kB / 0.5874 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.4853, allocations: 58.67 kB / 0.5875 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.4854, allocations: 20.98 kB / 0.5875 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.4854, allocations: 0 / 0.5875 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.4856, allocations: 67.33 kB / 0.5876 GB, free: 1.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.4856, allocations: 0 / 0.5876 GB, free: 1.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004695/0.486, allocations: 145.2 kB / 0.5877 GB, free: 1.074 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.4861, allocations: 55.41 kB / 0.5878 GB, free: 1.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.4863, allocations: 157.4 kB / 0.5879 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.4863, allocations: 29.7 kB / 0.588 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.4864, allocations: 104.1 kB / 0.5881 GB, free: 0.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.4864, allocations: 19.7 kB / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.4864, allocations: 0 / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4866, allocations: 326.8 kB / 0.5884 GB, free: 368 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.4866, allocations: 15.94 kB / 0.5884 GB, free: 352 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.4867, allocations: 33.72 kB / 0.5884 GB, free: 312 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.4867, allocations: 27.94 kB / 0.5885 GB, free: 284 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4867, allocations: 0 / 0.5885 GB, free: 284 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001478/0.4869, allocations: 97.48 kB / 0.5886 GB, free: 180 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4869, allocations: 4 kB / 0.5886 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4869, allocations: 3.938 kB / 0.5886 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.4869, allocations: 0 / 0.5886 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.487, allocations: 19.98 kB / 0.5886 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.487, allocations: 4.031 kB / 0.5886 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.4871, allocations: 8.125 kB / 0.5886 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4871, allocations: 0 / 0.5886 GB, free: 140 kB / 394.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.051e-05/0.4872, allocations: 117.5 kB / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.4872, allocations: 11.91 kB / 0.5887 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.4874, allocations: 106.5 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.4875, allocations: 8.078 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4875, allocations: 3.938 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4875, allocations: 4 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.4879, allocations: 375.7 kB / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4879, allocations: 0 / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.4879, allocations: 15.98 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4879, allocations: 3.938 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.488, allocations: 0 / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.488, allocations: 4 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.488, allocations: 0 / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.4882, allocations: 217.9 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.4882, allocations: 89 kB / 0.5895 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.4883, allocations: 4 kB / 0.5895 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.4883, allocations: 0 / 0.5895 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.4884, allocations: 15.92 kB / 0.5895 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.4884, allocations: 8 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.4885, allocations: 137 kB / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4885, allocations: 0 / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.4888, allocations: 24 kB / 0.5897 GB, free: 14.92 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.0008997/0.4897, allocations: 397.1 kB / 0.5901 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.4899, allocations: 55.92 kB / 0.5901 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4899, allocations: 0 / 0.5901 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.009e-05/0.4899, allocations: 27.94 kB / 0.5901 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.4902, allocations: 27.97 kB / 0.5902 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.4905, allocations: 157.4 kB / 0.5903 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4908, allocations: 0.7119 MB / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.037e-05/0.4909, allocations: 12.42 kB / 0.591 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.491, allocations: 19.42 kB / 0.591 GB, free: 13.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.491, allocations: 4 kB / 0.5911 GB, free: 13.54 MB / 410.7 MB Notification: Performance of Templates: time 0.003931/0.4949, allocations: 1.633 MB / 0.5926 GB, free: 11.91 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches