Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,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.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,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.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008739/0.0008739, allocations: 179 kB / 18.09 MB, free: 3.758 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.261/1.261, allocations: 223.3 MB / 242.1 MB, free: 11.67 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.0007603/0.0007603, allocations: 94.8 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.4032/0.4032, allocations: 44.14 MB / 388.5 MB, free: 38.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3742, allocations: 61.89 MB / 0.5107 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4958, allocations: 89.33 MB / 0.598 GB, free: 5.746 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.4961, allocations: 79.95 kB / 0.5981 GB, free: 5.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.5105, allocations: 5.421 MB / 0.6033 GB, free: 256 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5106, allocations: 0 / 0.6033 GB, free: 256 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.5106, allocations: 4 kB / 0.6033 GB, free: 252 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.0005367/0.5111, allocations: 411.1 kB / 0.6037 GB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.5112, allocations: 8.031 kB / 0.6037 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.5113, allocations: 12.84 kB / 0.6038 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.5115, allocations: 216 kB / 0.604 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5116, allocations: 4.375 kB / 0.604 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.5116, allocations: 384 / 0.604 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.5117, allocations: 71.94 kB / 0.604 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5118, allocations: 192 / 0.604 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.5118, allocations: 7.938 kB / 0.604 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5118, allocations: 0 / 0.604 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.999e-05/0.5119, allocations: 27.92 kB / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.5122, allocations: 272.9 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.5124, allocations: 66.59 kB / 0.6044 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.162e-05/0.5125, allocations: 36.91 kB / 0.6044 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.5125, allocations: 7.938 kB / 0.6044 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.5127, allocations: 75.33 kB / 0.6045 GB, free: 14.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.5127, allocations: 0 / 0.6045 GB, free: 14.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005413/0.5132, allocations: 201.3 kB / 0.6047 GB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.5133, allocations: 77.11 kB / 0.6048 GB, free: 14.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.5135, allocations: 164 kB / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.5135, allocations: 25.7 kB / 0.605 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.5135, allocations: 100.1 kB / 0.6051 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.5136, allocations: 27.56 kB / 0.6051 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.5136, allocations: 4 kB / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5137, allocations: 326.8 kB / 0.6054 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.63e-05/0.5138, allocations: 27.98 kB / 0.6054 GB, free: 13.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.5139, allocations: 63.23 kB / 0.6055 GB, free: 13.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.514, allocations: 73.92 kB / 0.6056 GB, free: 13.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.514, allocations: 0 / 0.6056 GB, free: 13.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002112/0.5142, allocations: 129.4 kB / 0.6057 GB, free: 13.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.5143, allocations: 4 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5143, allocations: 0 / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5143, allocations: 3.984 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.5144, allocations: 27.98 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-06/0.5144, allocations: 0 / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.5145, allocations: 8.031 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5145, allocations: 7.938 kB / 0.6057 GB, free: 13.57 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 (13): * Single equations (assignments): 13 * 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.0001011/0.5146, allocations: 122.3 kB / 0.6058 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.5146, allocations: 19.8 kB / 0.6059 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.5149, allocations: 130.7 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5149, allocations: 0 / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5149, allocations: 4 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5149, allocations: 0 / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.5154, allocations: 443.2 kB / 0.6064 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5154, allocations: 0 / 0.6064 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.5155, allocations: 12 kB / 0.6064 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.5155, allocations: 3.938 kB / 0.6064 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5155, allocations: 192 / 0.6064 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.5155, allocations: 7.938 kB / 0.6064 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5155, allocations: 3.938 kB / 0.6064 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.5158, allocations: 224.2 kB / 0.6067 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.5158, allocations: 93 kB / 0.6067 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.5159, allocations: 7.938 kB / 0.6068 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.516, allocations: 8 kB / 0.6068 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.516, allocations: 7.984 kB / 0.6068 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.516, allocations: 4 kB / 0.6068 GB, free: 12.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.5161, allocations: 125.3 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.194e-06/0.5161, allocations: 0 / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002691/0.5164, allocations: 47.92 kB / 0.6069 GB, free: 12.22 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 (11): * Single equations (assignments): 9 * 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.00109/0.5175, allocations: 0.5169 MB / 0.6074 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.5177, allocations: 75.89 kB / 0.6075 GB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5177, allocations: 0 / 0.6075 GB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.5178, allocations: 47.98 kB / 0.6076 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.5181, allocations: 32.62 kB / 0.6076 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.5186, allocations: 230.4 kB / 0.6078 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.5189, allocations: 0.7004 MB / 0.6085 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.289e-05/0.519, allocations: 20.86 kB / 0.6085 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.519, allocations: 19.42 kB / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.519, allocations: 0 / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of Templates: time 0.004424/0.5234, allocations: 2.059 MB / 0.6105 GB, free: 8.684 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches