Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.001155/0.001155, 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.0009822/0.0009823, allocations: 188 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.29/1.29, 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.2056/0.2056, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3395, allocations: 60.83 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002769/0.3424, allocations: 1.748 MB / 0.5202 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3438, allocations: 0.8819 MB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.3439, allocations: 1.344 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.3443, allocations: 105.5 kB / 0.5212 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.3445, allocations: 93.19 kB / 0.5213 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.3449, allocations: 122.7 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.3451, allocations: 120.2 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3452, allocations: 20.47 kB / 0.5215 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3453, allocations: 57.92 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3455, allocations: 71.73 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.3455, allocations: 8.281 kB / 0.5217 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3456, allocations: 64.23 kB / 0.5217 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.3457, allocations: 33.34 kB / 0.5218 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.3458, allocations: 48.19 kB / 0.5218 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.346, allocations: 153.5 kB / 0.5219 GB, free: 1.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.346, allocations: 1.281 kB / 0.5219 GB, free: 1.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.346, allocations: 0 / 0.5219 GB, free: 1.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.346, allocations: 3.938 kB / 0.5219 GB, free: 1.117 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004917/0.3465, allocations: 445.9 kB / 0.5224 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3466, allocations: 14.03 kB / 0.5224 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.3466, allocations: 34.17 kB / 0.5224 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.3467, allocations: 16.44 kB / 0.5224 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.3469, allocations: 229.5 kB / 0.5227 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3469, allocations: 7.625 kB / 0.5227 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.347, allocations: 7.188 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3472, allocations: 77.61 kB / 0.5227 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3472, allocations: 1.828 kB / 0.5227 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3472, allocations: 3.984 kB / 0.5227 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3472, allocations: 6 kB / 0.5228 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3473, allocations: 34.53 kB / 0.5228 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.3477, allocations: 329.1 kB / 0.5231 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.348, allocations: 75.2 kB / 0.5232 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/0.3481, allocations: 28.56 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3481, allocations: 6 kB / 0.5232 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.3483, allocations: 76.25 kB / 0.5233 GB, free: 15.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3483, allocations: 0 / 0.5233 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009273/0.3493, allocations: 309.5 kB / 0.5236 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3493, allocations: 53.61 kB / 0.5236 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.3496, allocations: 243.6 kB / 0.5239 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.3496, allocations: 35.55 kB / 0.5239 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/0.3497, allocations: 119.5 kB / 0.524 GB, free: 15.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.3498, allocations: 43.34 kB / 0.524 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.3499, allocations: 31.2 kB / 0.5241 GB, free: 15.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.35, allocations: 329.7 kB / 0.5244 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.3501, allocations: 39.66 kB / 0.5244 GB, free: 15.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.961e-05/0.3502, allocations: 55.95 kB / 0.5245 GB, free: 15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.3504, allocations: 111.5 kB / 0.5246 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3504, allocations: 0 / 0.5246 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002796/0.3507, allocations: 153.7 kB / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3508, allocations: 6.406 kB / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3508, allocations: 112 / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3508, allocations: 8.875 kB / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.3509, allocations: 33.61 kB / 0.5248 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3509, allocations: 1.859 kB / 0.5248 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.351, allocations: 11.11 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.351, allocations: 3.781 kB / 0.5248 GB, free: 14.84 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 (16): * Single equations (assignments): 16 * 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.0001135/0.3511, allocations: 134.9 kB / 0.5249 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.3511, allocations: 15.8 kB / 0.5249 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.3512, allocations: 28.14 kB / 0.525 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3512, allocations: 3.188 kB / 0.525 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3512, allocations: 0 / 0.525 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3512, allocations: 0.7031 kB / 0.525 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.3518, allocations: 0.5014 MB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3518, allocations: 0.6094 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.3519, allocations: 18.47 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3519, allocations: 3.516 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3519, allocations: 3.875 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3519, allocations: 4.594 kB / 0.5255 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3519, allocations: 0 / 0.5255 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.3523, allocations: 267.6 kB / 0.5257 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.3523, allocations: 89.7 kB / 0.5258 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.3523, allocations: 7.453 kB / 0.5258 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.3524, allocations: 8.109 kB / 0.5258 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.3525, allocations: 12.64 kB / 0.5259 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3525, allocations: 10.95 kB / 0.5259 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.3527, allocations: 183.5 kB / 0.526 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.764e-06/0.3527, allocations: 1.375 kB / 0.526 GB, free: 13.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3529, allocations: 37.38 kB / 0.5261 GB, free: 13.85 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001672/0.3546, allocations: 1.207 MB / 0.5273 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.3549, allocations: 100.4 kB / 0.5274 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3549, allocations: 0 / 0.5274 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.355, allocations: 52.58 kB / 0.5274 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3554, allocations: 34.47 kB / 0.5274 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.3575, allocations: 1.987 MB / 0.5294 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3579, allocations: 0.7238 MB / 0.5301 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.729e-05/0.358, allocations: 32.7 kB / 0.5301 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.3581, allocations: 52.84 kB / 0.5302 GB, free: 10.67 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3581, allocations: 1.031 kB / 0.5302 GB, free: 10.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.3803, allocations: 4.311 MB / 0.5344 GB, free: 8.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.888, allocations: 20.41 kB / 0.5344 GB, free: 8.535 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,d_t_new2.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d_t_new.u),der(d_t_new2.u),t_new.columns[1],t_new.columns[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time