Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",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.001174/0.001174, 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.001242/0.001242, allocations: 187.9 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.436/1.436, 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.2347/0.2347, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4574, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002852/0.4603, allocations: 1.592 MB / 0.52 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006973/0.461, allocations: 403.8 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.105e-05/0.4611, allocations: 1.125 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.4614, allocations: 105.2 kB / 0.5205 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.4617, allocations: 81.84 kB / 0.5206 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.4619, allocations: 85 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.4621, allocations: 79.2 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.4622, allocations: 18.69 kB / 0.5207 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.709e-05/0.4623, allocations: 42.2 kB / 0.5208 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.4625, allocations: 64.98 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.4625, allocations: 2.812 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.4626, allocations: 47.25 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.4627, allocations: 21.3 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.4627, allocations: 35.92 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.463, allocations: 114.6 kB / 0.5211 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.463, allocations: 0 / 0.5211 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.463, allocations: 0 / 0.5211 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.463, allocations: 1.062 kB / 0.5211 GB, free: 1.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000455/0.4635, allocations: 416.2 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4635, allocations: 8.844 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.4635, allocations: 38.3 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.4636, allocations: 17.28 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.4638, allocations: 199.7 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-06/0.4638, allocations: 1.375 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.4638, allocations: 7.625 kB / 0.5217 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.4639, allocations: 55.89 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.464, allocations: 1.344 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.464, allocations: 0.7031 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.464, allocations: 0.9375 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.4641, allocations: 29.16 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.4644, allocations: 309.3 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.4646, allocations: 42.78 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.4646, allocations: 19.22 kB / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.4646, allocations: 0 / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.4647, allocations: 36.69 kB / 0.5222 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4647, allocations: 0 / 0.5222 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009106/0.4656, allocations: 224.4 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.4656, allocations: 57.22 kB / 0.5225 GB, free: 408 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.4659, allocations: 241.7 kB / 0.5227 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.4659, allocations: 27.55 kB / 0.5227 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.4659, allocations: 109.8 kB / 0.5228 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.466, allocations: 29.41 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.466, allocations: 20.59 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4661, allocations: 331 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.4662, allocations: 30.48 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.526e-05/0.4663, allocations: 27.52 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.4665, allocations: 58.8 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4665, allocations: 0 / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002327/0.4668, allocations: 103 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4668, allocations: 8.312 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4668, allocations: 0.6094 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4668, allocations: 1.5 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4669, allocations: 24.16 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4669, allocations: 6.141 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.467, allocations: 4.438 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.467, allocations: 6.938 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001042/0.4671, allocations: 126.8 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.4672, allocations: 13.91 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.4675, allocations: 116.9 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4675, allocations: 4.75 kB / 0.5237 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.4675, allocations: 6.125 kB / 0.5237 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4675, allocations: 7.875 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.4681, allocations: 404 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4681, allocations: 4.734 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.4682, allocations: 20.69 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4682, allocations: 1.125 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4682, allocations: 5.828 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4682, allocations: 1.125 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4682, allocations: 1.797 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.4685, allocations: 207 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.4685, allocations: 93.42 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.4686, allocations: 1.406 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.4686, allocations: 13.89 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.4687, allocations: 5.047 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.4687, allocations: 6.469 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.4689, allocations: 187.3 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4689, allocations: 0 / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.4691, allocations: 23.64 kB / 0.5246 GB, free: 14.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00155/0.4707, allocations: 1.082 MB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.4709, allocations: 65.2 kB / 0.5257 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4709, allocations: 0 / 0.5257 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.4711, allocations: 38.7 kB / 0.5258 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.4715, allocations: 23.47 kB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.474, allocations: 1.717 MB / 0.5275 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.4745, allocations: 0.7118 MB / 0.5282 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.16e-05/0.4746, allocations: 14.19 kB / 0.5282 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.4747, allocations: 37.52 kB / 0.5282 GB, free: 11.73 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4747, allocations: 0 / 0.5282 GB, free: 11.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.4973, allocations: 3.228 MB / 0.5314 GB, free: 10.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/8.154, allocations: 9.531 kB / 0.5314 GB, free: 10.29 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,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.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time