Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 178.4 kB / 8.362 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.99/1.99, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.0011/0.001099, allocations: 105.2 kB / 262.1 MB, free: 13.87 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.3032/0.3032, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.184e-05, allocations: 8 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4041, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.5665, allocations: 86.97 MB / 0.5508 GB, free: 12.36 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5669, allocations: 75.47 kB / 0.5509 GB, free: 12.29 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02736/0.5943, allocations: 5.675 MB / 0.5565 GB, free: 6.609 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.83e-06/0.5943, allocations: 0 / 0.5565 GB, free: 6.609 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.5944, allocations: 7.938 kB / 0.5565 GB, free: 6.602 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.0007146/0.5951, allocations: 422 kB / 0.5569 GB, free: 6.145 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.5952, allocations: 8.031 kB / 0.5569 GB, free: 6.137 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.5952, allocations: 15.81 kB / 0.5569 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.5957, allocations: 223.8 kB / 0.5571 GB, free: 5.859 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5958, allocations: 8 kB / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.5958, allocations: 0 / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001025/0.5959, allocations: 19.98 kB / 0.5571 GB, free: 5.832 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.5961, allocations: 53.62 kB / 0.5572 GB, free: 5.773 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5961, allocations: 0 / 0.5572 GB, free: 5.773 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.5961, allocations: 3.984 kB / 0.5572 GB, free: 5.77 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.5961, allocations: 0 / 0.5572 GB, free: 5.77 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.5967, allocations: 289.4 kB / 0.5575 GB, free: 5.449 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.5968, allocations: 46.7 kB / 0.5575 GB, free: 5.395 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.5969, allocations: 20.97 kB / 0.5575 GB, free: 5.371 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.597, allocations: 3.938 kB / 0.5575 GB, free: 5.367 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.5971, allocations: 59.41 kB / 0.5576 GB, free: 5.297 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.906e-06/0.5972, allocations: 0 / 0.5576 GB, free: 5.297 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006425/0.5978, allocations: 161 kB / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.5979, allocations: 59.34 kB / 0.5578 GB, free: 5.062 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.5983, allocations: 246.9 kB / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.5983, allocations: 29.7 kB / 0.5581 GB, free: 4.781 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.5984, allocations: 170.5 kB / 0.5582 GB, free: 4.613 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.5985, allocations: 19.7 kB / 0.5582 GB, free: 4.594 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/0.5985, allocations: 0 / 0.5582 GB, free: 4.594 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5987, allocations: 318.8 kB / 0.5585 GB, free: 4.273 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.5987, allocations: 16 kB / 0.5586 GB, free: 4.258 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.5988, allocations: 37.7 kB / 0.5586 GB, free: 4.215 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.419e-05/0.5989, allocations: 19.98 kB / 0.5586 GB, free: 4.195 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5989, allocations: 0 / 0.5586 GB, free: 4.195 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002518/0.5992, allocations: 89.61 kB / 0.5587 GB, free: 4.102 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5992, allocations: 4 kB / 0.5587 GB, free: 4.098 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.5992, allocations: 0 / 0.5587 GB, free: 4.098 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.5993, allocations: 4 kB / 0.5587 GB, free: 4.094 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.5994, allocations: 15.98 kB / 0.5587 GB, free: 4.078 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5994, allocations: 4.031 kB / 0.5587 GB, free: 4.074 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.734e-05/0.5996, allocations: 4.188 kB / 0.5587 GB, free: 4.07 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.5996, allocations: 7.953 kB / 0.5587 GB, free: 4.062 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.0001038/0.5997, allocations: 104.9 kB / 0.5588 GB, free: 3.953 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.5998, allocations: 19.81 kB / 0.5589 GB, free: 3.934 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.6001, allocations: 119.6 kB / 0.559 GB, free: 3.812 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.6001, allocations: 0 / 0.559 GB, free: 3.812 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.6001, allocations: 0 / 0.559 GB, free: 3.812 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.6002, allocations: 11.92 kB / 0.559 GB, free: 3.801 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.6009, allocations: 403.9 kB / 0.5594 GB, free: 3.359 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6009, allocations: 0 / 0.5594 GB, free: 3.359 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.552e-05/0.6011, allocations: 11.94 kB / 0.5594 GB, free: 3.348 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.6011, allocations: 7.984 kB / 0.5594 GB, free: 3.34 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.6011, allocations: 0 / 0.5594 GB, free: 3.34 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.6011, allocations: 3.984 kB / 0.5594 GB, free: 3.336 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6011, allocations: 0 / 0.5594 GB, free: 3.336 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.6015, allocations: 230.1 kB / 0.5596 GB, free: 3.086 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.6017, allocations: 96.92 kB / 0.5597 GB, free: 2.973 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.6017, allocations: 7.984 kB / 0.5597 GB, free: 2.965 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.6019, allocations: 4 kB / 0.5597 GB, free: 2.961 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.6019, allocations: 11.89 kB / 0.5597 GB, free: 2.949 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.602, allocations: 11.98 kB / 0.5597 GB, free: 2.938 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003152/0.6023, allocations: 193.5 kB / 0.5599 GB, free: 2.75 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6023, allocations: 0 / 0.5599 GB, free: 2.75 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.6028, allocations: 32 kB / 0.5599 GB, free: 2.719 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.001279/0.6041, allocations: 387.3 kB / 0.5603 GB, free: 2.383 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00028/0.6044, allocations: 55.88 kB / 0.5604 GB, free: 2.328 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6044, allocations: 0 / 0.5604 GB, free: 2.328 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.6045, allocations: 27.94 kB / 0.5604 GB, free: 2.301 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.605, allocations: 27.95 kB / 0.5604 GB, free: 2.273 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007694/0.6058, allocations: 271.5 kB / 0.5607 GB, free: 1.977 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.6063, allocations: 0.7236 MB / 0.5614 GB, free: 1.227 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.82e-05/0.6064, allocations: 15.44 kB / 0.5614 GB, free: 1.211 MB / 395.1 MB Notification: Performance of SimCode: time 1.543e-06/0.6064, allocations: 0 / 0.5614 GB, free: 1.211 MB / 395.1 MB Notification: Performance of Templates: time 0.00712/0.6135, allocations: 2.185 MB / 0.5635 GB, free: 15.03 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches