Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 180.3 kB / 14.15 MB, free: 1.176 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.342/1.342, allocations: 221.3 MB / 236 MB, free: 2.961 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.0008267/0.0008267, allocations: 91.55 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.176/0.176, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.868e-05, allocations: 8 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3418/0.4515, allocations: 88.99 MB / 0.5886 GB, free: 372 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4518, allocations: 71.97 kB / 0.5887 GB, free: 300 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0142/0.466, allocations: 5.303 MB / 0.5939 GB, free: 11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.466, allocations: 0 / 0.5939 GB, free: 11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.4661, allocations: 4 kB / 0.5939 GB, free: 11 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004182/0.4665, allocations: 378.3 kB / 0.5942 GB, free: 10.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4665, allocations: 8.031 kB / 0.5942 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.4666, allocations: 7.906 kB / 0.5942 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.4669, allocations: 213.8 kB / 0.5944 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.4669, allocations: 8 kB / 0.5945 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.467, allocations: 7.891 kB / 0.5945 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.4671, allocations: 45.69 kB / 0.5945 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4671, allocations: 0 / 0.5945 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4671, allocations: 0 / 0.5945 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4671, allocations: 0 / 0.5945 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.334e-05/0.4672, allocations: 15.98 kB / 0.5945 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.4674, allocations: 181.7 kB / 0.5947 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4675, allocations: 62.48 kB / 0.5948 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.4676, allocations: 16.86 kB / 0.5948 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.4676, allocations: 0 / 0.5948 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.4678, allocations: 71.47 kB / 0.5948 GB, free: 9.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.4678, allocations: 0 / 0.5948 GB, free: 9.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001933/0.468, allocations: 89.42 kB / 0.5949 GB, free: 9.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.468, allocations: 55.41 kB / 0.595 GB, free: 9.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.4682, allocations: 157.4 kB / 0.5951 GB, free: 9.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.4682, allocations: 25.7 kB / 0.5952 GB, free: 9.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.4683, allocations: 96.14 kB / 0.5952 GB, free: 9.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.4683, allocations: 7.891 kB / 0.5953 GB, free: 9.383 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-06/0.4683, allocations: 8 kB / 0.5953 GB, free: 9.375 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4684, allocations: 318.8 kB / 0.5956 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.4684, allocations: 12 kB / 0.5956 GB, free: 9.043 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.4685, allocations: 29.72 kB / 0.5956 GB, free: 9.008 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.412e-05/0.4685, allocations: 15.98 kB / 0.5956 GB, free: 8.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4685, allocations: 0 / 0.5956 GB, free: 8.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001256/0.4687, allocations: 85.5 kB / 0.5957 GB, free: 8.902 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4687, allocations: 13.05 kB / 0.5957 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4687, allocations: 0 / 0.5957 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.4687, allocations: 0 / 0.5957 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.4688, allocations: 8 kB / 0.5957 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.4688, allocations: 4.188 kB / 0.5957 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.4689, allocations: 15.92 kB / 0.5957 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4689, allocations: 7.984 kB / 0.5957 GB, free: 8.855 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 (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 6.444e-05/0.469, allocations: 110.3 kB / 0.5959 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.469, allocations: 7.906 kB / 0.5959 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.4692, allocations: 89.72 kB / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4692, allocations: 0 / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.4692, allocations: 0 / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4692, allocations: 3.984 kB / 0.5959 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.4693, allocations: 189.6 kB / 0.5961 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4694, allocations: 0 / 0.5961 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.4694, allocations: 8 kB / 0.5961 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4694, allocations: 3.984 kB / 0.5961 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.4694, allocations: 3.938 kB / 0.5961 GB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4694, allocations: 7.891 kB / 0.5962 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4694, allocations: 0 / 0.5962 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.4696, allocations: 116.9 kB / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.4696, allocations: 93.02 kB / 0.5964 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.4697, allocations: 4 kB / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.4697, allocations: 4.172 kB / 0.5964 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.4697, allocations: 7.953 kB / 0.5964 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.4698, allocations: 4 kB / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.4699, allocations: 134.5 kB / 0.5965 GB, free: 7.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4699, allocations: 0 / 0.5965 GB, free: 7.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000194/0.4701, allocations: 24 kB / 0.5965 GB, free: 7.961 MB / 410.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: 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 (6): * Single equations (assignments): 4 * 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.0007724/0.4708, allocations: 379.9 kB / 0.5969 GB, free: 7.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.471, allocations: 40 kB / 0.5969 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.471, allocations: 0 / 0.5969 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.471, allocations: 23.92 kB / 0.5969 GB, free: 7.629 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.4712, allocations: 23.98 kB / 0.597 GB, free: 7.605 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.4715, allocations: 134.6 kB / 0.5971 GB, free: 7.453 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.4717, allocations: 0.7044 MB / 0.5978 GB, free: 6.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.378e-05/0.4718, allocations: 12.42 kB / 0.5978 GB, free: 6.711 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.4718, allocations: 11.44 kB / 0.5978 GB, free: 6.699 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4718, allocations: 0 / 0.5978 GB, free: 6.699 MB / 410.7 MB Notification: Performance of Templates: time 0.003403/0.4752, allocations: 1.446 MB / 0.5992 GB, free: 5.266 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches