Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.001499/0.001499, allocations: 110.4 kB / 17.78 MB, free: 5.312 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.001643/0.001643, allocations: 187.1 kB / 18.71 MB, free: 4.387 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.382/1.382, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2199/0.2199, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001435, allocations: 71.88 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.458, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.0031/0.4612, allocations: 1.693 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.4627, allocations: 0.876 MB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.4628, allocations: 5.031 kB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.4631, allocations: 43.14 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.4634, allocations: 65.12 kB / 0.5211 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.4637, allocations: 105.4 kB / 0.5212 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.4639, allocations: 96.67 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.464, allocations: 15.8 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.4641, allocations: 41.05 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.4642, allocations: 35.36 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.4643, allocations: 3.25 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.4644, allocations: 41.97 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.4645, allocations: 21.45 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.4645, allocations: 45.62 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.4648, allocations: 115.5 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4648, allocations: 0 / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4648, allocations: 3.938 kB / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.4648, allocations: 3.938 kB / 0.5216 GB, free: 1.195 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.0005327/0.4654, allocations: 431.4 kB / 0.522 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4654, allocations: 9.656 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.4654, allocations: 37.08 kB / 0.5221 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.4655, allocations: 14.53 kB / 0.5221 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.4658, allocations: 204.7 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4658, allocations: 1.562 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.4658, allocations: 6.219 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.466, allocations: 58.5 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.466, allocations: 1.125 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.466, allocations: 0 / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.466, allocations: 5.672 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.4661, allocations: 25.5 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.4665, allocations: 294.6 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.4667, allocations: 59.73 kB / 0.5227 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.4667, allocations: 23.7 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.4668, allocations: 2.031 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.4669, allocations: 66.5 kB / 0.5228 GB, free: 48 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4669, allocations: 0 / 0.5228 GB, free: 48 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006042/0.4676, allocations: 173 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.4676, allocations: 57.38 kB / 0.523 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.4679, allocations: 222.1 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.4679, allocations: 35.5 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.468, allocations: 110.1 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.468, allocations: 17.69 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.4681, allocations: 21.73 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4682, allocations: 327.3 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.4683, allocations: 17.62 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.4684, allocations: 39.73 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.4685, allocations: 65.91 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4685, allocations: 0 / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000203/0.4687, allocations: 106.6 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4688, allocations: 4.656 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4688, allocations: 5.797 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4688, allocations: 1.062 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4689, allocations: 19.19 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4689, allocations: 1.594 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.469, allocations: 9.766 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.469, allocations: 8.031 kB / 0.524 GB, free: 15.11 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.0001371/0.4691, allocations: 138.6 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.4692, allocations: 14.42 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.4692, allocations: 19 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4692, allocations: 0 / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.4692, allocations: 0 / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.4693, allocations: 8.672 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.4698, allocations: 398.4 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4698, allocations: 384 / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.4698, allocations: 9.422 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.81e-06/0.4698, allocations: 5.188 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4699, allocations: 5.844 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.4699, allocations: 1.75 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4699, allocations: 1.062 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.4701, allocations: 204.8 kB / 0.5248 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.4702, allocations: 89.17 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.4702, allocations: 11.55 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.4703, allocations: 2.266 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.4703, allocations: 5.609 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.4704, allocations: 4.344 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001726/0.4705, allocations: 175.8 kB / 0.525 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4706, allocations: 4 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000263/0.4708, allocations: 21.84 kB / 0.5251 GB, free: 14.2 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.001797/0.4726, allocations: 1.094 MB / 0.5261 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.4729, allocations: 68.53 kB / 0.5262 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4729, allocations: 0 / 0.5262 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.473, allocations: 33.59 kB / 0.5262 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.4735, allocations: 37.48 kB / 0.5263 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.476, allocations: 1.716 MB / 0.528 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.4765, allocations: 0.7096 MB / 0.5286 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.629e-05/0.4766, allocations: 17.8 kB / 0.5287 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.4767, allocations: 39.95 kB / 0.5287 GB, free: 11.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4767, allocations: 0 / 0.5287 GB, free: 11.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.4979, allocations: 3.589 MB / 0.5322 GB, free: 9.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.145, allocations: 5.125 kB / 0.5322 GB, free: 9.637 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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