Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 109.4 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001112, allocations: 188.1 kB / 18.71 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.14 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4523, allocations: 60.81 MB / 0.5185 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003594/0.4559, allocations: 1.706 MB / 0.5202 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.4574, allocations: 0.8804 MB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.4575, allocations: 3.938 kB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.4578, allocations: 43.11 kB / 0.5211 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.4581, allocations: 61.16 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.4584, allocations: 106.4 kB / 0.5212 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.4586, allocations: 95.36 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.4587, allocations: 16.56 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.4589, allocations: 41.05 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.459, allocations: 30.61 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.459, allocations: 3.25 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.4592, allocations: 43.36 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.312e-05/0.4593, allocations: 20.72 kB / 0.5215 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.4594, allocations: 45.47 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.4598, allocations: 115.6 kB / 0.5216 GB, free: 1.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.4598, allocations: 4 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.4598, allocations: 3.938 kB / 0.5216 GB, free: 1.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.4598, allocations: 0.75 kB / 0.5216 GB, free: 1.238 MB / 382.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.0007968/0.4606, allocations: 427.7 kB / 0.522 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.022e-05/0.4607, allocations: 10.31 kB / 0.522 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.4607, allocations: 35.41 kB / 0.5221 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.4608, allocations: 15.33 kB / 0.5221 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.4612, allocations: 203.5 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.4612, allocations: 6.047 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.4613, allocations: 10.72 kB / 0.5223 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.4615, allocations: 58.36 kB / 0.5224 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.4615, allocations: 0 / 0.5224 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.4616, allocations: 6 kB / 0.5224 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4616, allocations: 0 / 0.5224 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.4617, allocations: 18.45 kB / 0.5224 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.4622, allocations: 292.9 kB / 0.5227 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.4624, allocations: 65.42 kB / 0.5227 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.4625, allocations: 23.72 kB / 0.5228 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.4625, allocations: 1.938 kB / 0.5228 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.4627, allocations: 64.91 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4627, allocations: 4 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006594/0.4634, allocations: 174.5 kB / 0.523 GB, free: 0 / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.4635, allocations: 57.16 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.4638, allocations: 222.5 kB / 0.5233 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.4639, allocations: 30.77 kB / 0.5233 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.464, allocations: 110.3 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.464, allocations: 17.06 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.4641, allocations: 22.08 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.4643, allocations: 332 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.4644, allocations: 16.97 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.4645, allocations: 39.67 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.4647, allocations: 61.61 kB / 0.5239 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4647, allocations: 1.469 kB / 0.5239 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000206/0.4649, allocations: 108.7 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4649, allocations: 6.391 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4649, allocations: 3.938 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.465, allocations: 5.234 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/0.4651, allocations: 19.02 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4651, allocations: 1.75 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.4651, allocations: 7.031 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.4651, allocations: 2.859 kB / 0.524 GB, free: 15.15 MB / 398.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.4653, allocations: 140.5 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.4653, allocations: 18.53 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.758e-05/0.4654, allocations: 18.78 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4654, allocations: 1.094 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4654, allocations: 0 / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.4654, allocations: 4.875 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.4659, allocations: 394 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4659, allocations: 5.344 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.466, allocations: 8.688 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.466, allocations: 9.438 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.466, allocations: 2.484 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.466, allocations: 2.141 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.466, allocations: 0 / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.4663, allocations: 205.3 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.4663, allocations: 89.45 kB / 0.5249 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.4664, allocations: 10.08 kB / 0.5249 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.4665, allocations: 7.469 kB / 0.5249 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.4665, allocations: 5.156 kB / 0.5249 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.4665, allocations: 4.938 kB / 0.5249 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.4667, allocations: 175.1 kB / 0.5251 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4667, allocations: 0 / 0.5251 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.467, allocations: 21.88 kB / 0.5251 GB, free: 14.24 MB / 398.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/0.4687, allocations: 1.105 MB / 0.5262 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.4689, allocations: 60.67 kB / 0.5262 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4689, allocations: 0 / 0.5262 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.864e-05/0.469, allocations: 33.41 kB / 0.5262 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.4694, allocations: 26.5 kB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.4715, allocations: 1.722 MB / 0.528 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.4718, allocations: 0.711 MB / 0.5286 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.429e-05/0.4719, allocations: 11.86 kB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.472, allocations: 40.33 kB / 0.5287 GB, free: 11.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.472, allocations: 0 / 0.5287 GB, free: 11.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.4941, allocations: 3.596 MB / 0.5322 GB, free: 9.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/8.05, allocations: 3.625 kB / 0.5322 GB, free: 9.668 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time