Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.001261/0.001261, 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.001223/0.001224, 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.287/1.287, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.211/0.211, allocations: 44.18 MB / 336.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3802, allocations: 60.83 MB / 0.5185 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003003/0.3832, allocations: 1.697 MB / 0.5202 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3846, allocations: 0.8813 MB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.3847, allocations: 1.25 kB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.3851, allocations: 43.47 kB / 0.5211 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.3853, allocations: 67.27 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.3856, allocations: 105.1 kB / 0.5212 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.3858, allocations: 100.4 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.3859, allocations: 12.94 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.386, allocations: 36.89 kB / 0.5214 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.3861, allocations: 34.56 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3861, allocations: 8.188 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3862, allocations: 40.98 kB / 0.5215 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.3863, allocations: 24.88 kB / 0.5215 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.3863, allocations: 46.48 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3866, allocations: 127.1 kB / 0.5216 GB, free: 1.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.3866, allocations: 1.094 kB / 0.5216 GB, free: 1.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3866, allocations: 0 / 0.5216 GB, free: 1.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3866, allocations: 7.875 kB / 0.5217 GB, free: 1.23 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.0005197/0.3871, allocations: 436.3 kB / 0.5221 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3872, allocations: 13.86 kB / 0.5221 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.3872, allocations: 36.52 kB / 0.5221 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.3873, allocations: 15.22 kB / 0.5221 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.3875, allocations: 218.2 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3875, allocations: 6.469 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3876, allocations: 10.64 kB / 0.5224 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.3877, allocations: 53.66 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3877, allocations: 0 / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3877, allocations: 6.141 kB / 0.5224 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3877, allocations: 4 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.131e-05/0.3878, allocations: 18.27 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.3882, allocations: 293.7 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.3884, allocations: 56.08 kB / 0.5228 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.3884, allocations: 19.95 kB / 0.5228 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.3885, allocations: 5 kB / 0.5228 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.3886, allocations: 67.08 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3886, allocations: 0 / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006136/0.3893, allocations: 187.2 kB / 0.523 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.3893, allocations: 57.45 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.3897, allocations: 266.4 kB / 0.5233 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.3897, allocations: 30.73 kB / 0.5234 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.3899, allocations: 110.1 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.3899, allocations: 27.09 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.39, allocations: 25.67 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3902, allocations: 324.2 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.3902, allocations: 26.02 kB / 0.5239 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.031e-05/0.3903, allocations: 34.67 kB / 0.5239 GB, free: 15.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.3905, allocations: 66.64 kB / 0.524 GB, free: 15.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3905, allocations: 0 / 0.524 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002317/0.3907, allocations: 103.2 kB / 0.5241 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3907, allocations: 6.594 kB / 0.5241 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3908, allocations: 0.5625 kB / 0.5241 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3908, allocations: 0 / 0.5241 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3909, allocations: 15.28 kB / 0.5241 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3909, allocations: 2.297 kB / 0.5241 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.391, allocations: 14.16 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.391, allocations: 7.047 kB / 0.5241 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.0001421/0.3911, allocations: 141.2 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.3912, allocations: 15.52 kB / 0.5243 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.3912, allocations: 18.64 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3912, allocations: 1.219 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3913, allocations: 0.7969 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3913, allocations: 5.188 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.3918, allocations: 402.4 kB / 0.5247 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3918, allocations: 0.75 kB / 0.5247 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.3918, allocations: 17.34 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.3918, allocations: 4.453 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3918, allocations: 2.125 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3918, allocations: 1.469 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3919, allocations: 2.203 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.3921, allocations: 208.8 kB / 0.5249 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.3922, allocations: 89.02 kB / 0.525 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.3922, allocations: 11.39 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.3923, allocations: 3.156 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3923, allocations: 5.297 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3923, allocations: 8.453 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.3925, allocations: 199.9 kB / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3925, allocations: 4 kB / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.3928, allocations: 23.02 kB / 0.5252 GB, free: 14.18 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.001513/0.3943, allocations: 1.101 MB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3945, allocations: 61.55 kB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3946, allocations: 0 / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.3946, allocations: 28.89 kB / 0.5264 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.395, allocations: 32.31 kB / 0.5264 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.3969, allocations: 1.804 MB / 0.5282 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3973, allocations: 0.7197 MB / 0.5289 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.494e-05/0.3974, allocations: 20.02 kB / 0.5289 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.3975, allocations: 44.94 kB / 0.5289 GB, free: 11.17 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3975, allocations: 0 / 0.5289 GB, free: 11.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.4185, allocations: 3.756 MB / 0.5326 GB, free: 9.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.835, allocations: 9.875 kB / 0.5326 GB, free: 9.473 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time