Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.001505/0.001511, allocations: 110.4 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.001782/0.001782, allocations: 187.1 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.375/1.375, 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.1974/0.1974, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3667, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002825/0.3695, allocations: 1.728 MB / 0.5202 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3708, allocations: 0.8735 MB / 0.5211 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.3709, allocations: 1.125 kB / 0.5211 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.3712, allocations: 111.8 kB / 0.5212 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.3715, allocations: 85.19 kB / 0.5212 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3718, allocations: 111 kB / 0.5214 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.372, allocations: 119.7 kB / 0.5215 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3721, allocations: 14.41 kB / 0.5215 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.603e-05/0.3722, allocations: 62.05 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3723, allocations: 67.11 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3723, allocations: 4 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.3724, allocations: 55.16 kB / 0.5217 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.3725, allocations: 26.59 kB / 0.5217 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.3725, allocations: 42.22 kB / 0.5217 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3728, allocations: 137.9 kB / 0.5219 GB, free: 1.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3728, allocations: 0 / 0.5219 GB, free: 1.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3728, allocations: 0 / 0.5219 GB, free: 1.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3728, allocations: 1.094 kB / 0.5219 GB, free: 1.18 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004771/0.3733, allocations: 443.4 kB / 0.5223 GB, free: 0.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3733, allocations: 10.38 kB / 0.5223 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.3734, allocations: 34 kB / 0.5223 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.3734, allocations: 15.05 kB / 0.5223 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.3736, allocations: 223.3 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3737, allocations: 1.844 kB / 0.5226 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.3737, allocations: 7.203 kB / 0.5226 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.3738, allocations: 69.75 kB / 0.5226 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3739, allocations: 4.75 kB / 0.5226 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3739, allocations: 1.094 kB / 0.5226 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3739, allocations: 1.156 kB / 0.5226 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.626e-05/0.374, allocations: 20.31 kB / 0.5227 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.3743, allocations: 310.5 kB / 0.5229 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3745, allocations: 65.03 kB / 0.523 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.3746, allocations: 24.62 kB / 0.523 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.3746, allocations: 2.016 kB / 0.523 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.3748, allocations: 72 kB / 0.5231 GB, free: 15.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-05/0.3748, allocations: 0 / 0.5231 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007675/0.3756, allocations: 242.3 kB / 0.5233 GB, free: 15.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.3756, allocations: 60.41 kB / 0.5234 GB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.3759, allocations: 239.6 kB / 0.5236 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3759, allocations: 27.33 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.376, allocations: 114.7 kB / 0.5238 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.376, allocations: 36.19 kB / 0.5238 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.3761, allocations: 30.08 kB / 0.5238 GB, free: 15.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3762, allocations: 322.9 kB / 0.5241 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.3763, allocations: 30.05 kB / 0.5242 GB, free: 15.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.3764, allocations: 53.28 kB / 0.5242 GB, free: 15.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3765, allocations: 79.52 kB / 0.5243 GB, free: 15.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3765, allocations: 0 / 0.5243 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002103/0.3767, allocations: 125.5 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3768, allocations: 5.188 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3768, allocations: 1.344 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3768, allocations: 1.438 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.3769, allocations: 35.5 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3769, allocations: 1.828 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.377, allocations: 3.266 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.377, allocations: 2.875 kB / 0.5245 GB, free: 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 (13): * Single equations (assignments): 13 * 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.0001176/0.3771, allocations: 139.4 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.3771, allocations: 15.84 kB / 0.5246 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/0.3772, allocations: 22.56 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.3772, allocations: 9.156 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3772, allocations: 5.312 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3772, allocations: 0.6094 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.3778, allocations: 461.6 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3778, allocations: 1.547 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.3779, allocations: 13.39 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3779, allocations: 2.031 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3779, allocations: 3.062 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3779, allocations: 6.375 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3779, allocations: 4 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.3782, allocations: 230.1 kB / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.3782, allocations: 89.73 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.3783, allocations: 9.875 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.3783, allocations: 5.438 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.3784, allocations: 15.38 kB / 0.5254 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.3784, allocations: 3.688 kB / 0.5254 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.3786, allocations: 189.1 kB / 0.5256 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3786, allocations: 0 / 0.5256 GB, free: 14.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.3789, allocations: 31.89 kB / 0.5257 GB, free: 14.03 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 (11): * Single equations (assignments): 9 * 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.001529/0.3804, allocations: 1.176 MB / 0.5268 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3807, allocations: 77.28 kB / 0.5269 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3807, allocations: 0 / 0.5269 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.136e-05/0.3808, allocations: 41.38 kB / 0.5269 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3811, allocations: 34.36 kB / 0.5269 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.3833, allocations: 1.857 MB / 0.5288 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3837, allocations: 0.725 MB / 0.5295 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.173e-05/0.3837, allocations: 19.42 kB / 0.5295 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.3838, allocations: 42.06 kB / 0.5295 GB, free: 10.94 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3838, allocations: 0 / 0.5295 GB, free: 10.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.4054, allocations: 3.987 MB / 0.5334 GB, free: 9.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.936, allocations: 11.81 kB / 0.5334 GB, free: 9.035 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.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,der(d2_t_new.u),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[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],time