Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008977/0.0008979, allocations: 183 kB / 18.09 MB, free: 3.625 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.222/1.222, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007452/0.0007452, allocations: 97.39 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.2776/0.2776, allocations: 44.14 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 16 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2983, allocations: 61.89 MB / 0.5107 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.101/0.3993, allocations: 89.27 MB / 0.5979 GB, free: 5.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.3996, allocations: 79.94 kB / 0.598 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0137/0.4133, allocations: 5.53 MB / 0.6034 GB, free: 212 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4134, allocations: 3.938 kB / 0.6034 GB, free: 208 kB / 410.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.4134, allocations: 0 / 0.6034 GB, free: 208 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.0004836/0.4139, allocations: 427 kB / 0.6038 GB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.4139, allocations: 12.03 kB / 0.6038 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.4139, allocations: 8.844 kB / 0.6038 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.4142, allocations: 225.6 kB / 0.604 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4142, allocations: 384 / 0.604 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.4143, allocations: 4.375 kB / 0.604 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.4144, allocations: 54.23 kB / 0.6041 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4144, allocations: 192 / 0.6041 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4144, allocations: 3.938 kB / 0.6041 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4144, allocations: 7.938 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.403e-05/0.4145, allocations: 19.98 kB / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.4148, allocations: 292.9 kB / 0.6044 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.415, allocations: 62.61 kB / 0.6045 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.4151, allocations: 24.73 kB / 0.6045 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.4151, allocations: 15.97 kB / 0.6045 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.4152, allocations: 63.39 kB / 0.6046 GB, free: 14.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.4152, allocations: 0 / 0.6046 GB, free: 14.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004868/0.4157, allocations: 181 kB / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.4158, allocations: 51.41 kB / 0.6048 GB, free: 14.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.4159, allocations: 199.3 kB / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.416, allocations: 33.7 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.416, allocations: 104.1 kB / 0.6051 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.4161, allocations: 27.64 kB / 0.6051 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.4161, allocations: 0 / 0.6051 GB, free: 14.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.4162, allocations: 330.8 kB / 0.6055 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.287e-05/0.4162, allocations: 19.98 kB / 0.6055 GB, free: 13.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-05/0.4163, allocations: 37.7 kB / 0.6055 GB, free: 13.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.4164, allocations: 61.84 kB / 0.6056 GB, free: 13.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4164, allocations: 0 / 0.6056 GB, free: 13.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.4166, allocations: 105.5 kB / 0.6057 GB, free: 13.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.4166, allocations: 4 kB / 0.6057 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4166, allocations: 0 / 0.6057 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.4166, allocations: 0 / 0.6057 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.4167, allocations: 19.98 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4167, allocations: 0 / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.4168, allocations: 8.406 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.4168, allocations: 4 kB / 0.6057 GB, free: 13.6 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 9.565e-05/0.4169, allocations: 135.8 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.4169, allocations: 11.81 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.4172, allocations: 119 kB / 0.606 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4172, allocations: 4 kB / 0.606 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4172, allocations: 4 kB / 0.606 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4172, allocations: 0 / 0.606 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.4176, allocations: 423.7 kB / 0.6064 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4177, allocations: 4 kB / 0.6064 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.4177, allocations: 11.94 kB / 0.6064 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4177, allocations: 3.938 kB / 0.6064 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4177, allocations: 7.984 kB / 0.6064 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4177, allocations: 4 kB / 0.6064 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.4177, allocations: 3.938 kB / 0.6064 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.418, allocations: 216.2 kB / 0.6066 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.418, allocations: 93 kB / 0.6067 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.4181, allocations: 4 kB / 0.6067 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.4181, allocations: 4 kB / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.4182, allocations: 11.92 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.4182, allocations: 4 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.4183, allocations: 152.9 kB / 0.6069 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4183, allocations: 0 / 0.6069 GB, free: 12.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.4186, allocations: 31.94 kB / 0.6069 GB, free: 12.27 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.0009273/0.4195, allocations: 474.6 kB / 0.6074 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.4197, allocations: 59.92 kB / 0.6074 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4197, allocations: 0 / 0.6074 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.4198, allocations: 35.91 kB / 0.6074 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4201, allocations: 36.72 kB / 0.6075 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.4205, allocations: 258.2 kB / 0.6077 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.4208, allocations: 0.7043 MB / 0.6084 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.921e-05/0.4209, allocations: 24.84 kB / 0.6084 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.4209, allocations: 15.44 kB / 0.6084 GB, free: 10.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4209, allocations: 0 / 0.6084 GB, free: 10.8 MB / 426.7 MB Notification: Performance of Templates: time 0.003724/0.4247, allocations: 1.725 MB / 0.6101 GB, free: 9.098 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches