Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001069/0.001069, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.001173/0.001173, allocations: 188.8 kB / 18.71 MB, free: 4.371 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2119/0.2119, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 67.91 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3632, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003484/0.3668, allocations: 1.709 MB / 0.5202 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3682, allocations: 0.8678 MB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.3683, allocations: 0 / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.3687, allocations: 87.72 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.3689, allocations: 73.62 kB / 0.5212 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.3693, allocations: 110 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.3695, allocations: 110.7 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3696, allocations: 7.734 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.3698, allocations: 55.2 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.3699, allocations: 54.56 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.37, allocations: 3.812 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3701, allocations: 42.44 kB / 0.5215 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.3702, allocations: 24.31 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.3702, allocations: 33.62 kB / 0.5216 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.3705, allocations: 125.2 kB / 0.5217 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3705, allocations: 0 / 0.5217 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3705, allocations: 1.25 kB / 0.5217 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3706, allocations: 0.7031 kB / 0.5217 GB, free: 1.211 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.0007069/0.3713, allocations: 425.2 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.3713, allocations: 9.156 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.3714, allocations: 37.16 kB / 0.5222 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.3714, allocations: 10.62 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.3718, allocations: 211.8 kB / 0.5224 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3718, allocations: 1.719 kB / 0.5224 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.3719, allocations: 6.578 kB / 0.5224 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3721, allocations: 58.64 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3721, allocations: 0 / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3721, allocations: 1.031 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3721, allocations: 9.094 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.064e-05/0.3722, allocations: 22.02 kB / 0.5225 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.3726, allocations: 284 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.3728, allocations: 65.25 kB / 0.5228 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.283e-05/0.3729, allocations: 24.41 kB / 0.5228 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.3729, allocations: 5.109 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.3731, allocations: 65.25 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3731, allocations: 0 / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006881/0.3738, allocations: 178 kB / 0.5231 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3739, allocations: 53.11 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.3742, allocations: 213.4 kB / 0.5233 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3742, allocations: 35.59 kB / 0.5234 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.3743, allocations: 104.6 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.3743, allocations: 22.44 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.3744, allocations: 30.3 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.3745, allocations: 323.3 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.3746, allocations: 24.45 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.347e-05/0.3747, allocations: 35.98 kB / 0.5239 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.3748, allocations: 61.48 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3748, allocations: 0 / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001998/0.375, allocations: 105.9 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.375, allocations: 5.719 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3751, allocations: 0 / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3751, allocations: 2.078 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.791e-05/0.3752, allocations: 15.22 kB / 0.5241 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3752, allocations: 1.938 kB / 0.5241 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.3752, allocations: 10.03 kB / 0.5241 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.3753, allocations: 2.906 kB / 0.5241 GB, free: 15.13 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.0001272/0.3754, allocations: 136.6 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3754, allocations: 12.19 kB / 0.5242 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.3755, allocations: 18.41 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3755, allocations: 0.6094 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3755, allocations: 1.156 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.3755, allocations: 4.5 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.376, allocations: 392.6 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3761, allocations: 3.938 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.3761, allocations: 9.297 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.3761, allocations: 5.578 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3761, allocations: 7.719 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3761, allocations: 0 / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3761, allocations: 5.281 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.3764, allocations: 208.5 kB / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.3765, allocations: 85.58 kB / 0.5249 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.3765, allocations: 11.48 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.3766, allocations: 2.297 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.3766, allocations: 4.766 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.3766, allocations: 4.734 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.3768, allocations: 160.2 kB / 0.5251 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3768, allocations: 5.312 kB / 0.5251 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3771, allocations: 25.73 kB / 0.5251 GB, free: 14.23 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.001439/0.3785, allocations: 1.102 MB / 0.5262 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.3787, allocations: 55.72 kB / 0.5263 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3787, allocations: 5.688 kB / 0.5263 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.3788, allocations: 23.61 kB / 0.5263 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.0003546/0.3792, allocations: 41 kB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.381, allocations: 1.689 MB / 0.528 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3813, allocations: 0.7085 MB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.581e-05/0.3813, allocations: 20.84 kB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.3814, allocations: 35.7 kB / 0.5287 GB, free: 11.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3814, allocations: 0 / 0.5287 GB, free: 11.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.401, allocations: 3.538 MB / 0.5322 GB, free: 9.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.861, allocations: 7.438 kB / 0.5322 GB, free: 9.672 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time