Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27",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.001284/0.001284, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001222/0.001222, allocations: 183.1 kB / 18.71 MB, free: 4.344 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.406/1.406, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2348/0.2348, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4505, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003317/0.4539, allocations: 1.584 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007133/0.4546, allocations: 407.2 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.4547, allocations: 1.031 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.4551, allocations: 120.5 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.4555, allocations: 89.17 kB / 0.5206 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.4558, allocations: 89.97 kB / 0.5207 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.456, allocations: 81.95 kB / 0.5208 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.4562, allocations: 22.38 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.4563, allocations: 45.11 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.4564, allocations: 78.95 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.4565, allocations: 2.312 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.4566, allocations: 48.14 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.317e-05/0.4567, allocations: 27.38 kB / 0.521 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.4567, allocations: 39.28 kB / 0.521 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.457, allocations: 117.6 kB / 0.5211 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.457, allocations: 0 / 0.5211 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.457, allocations: 1.531 kB / 0.5211 GB, free: 1.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.457, allocations: 0.6094 kB / 0.5211 GB, free: 1.656 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.0004866/0.4575, allocations: 426.5 kB / 0.5215 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4575, allocations: 9.062 kB / 0.5215 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.4576, allocations: 33.02 kB / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.4576, allocations: 14.84 kB / 0.5216 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.4578, allocations: 204.4 kB / 0.5218 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.4578, allocations: 3.25 kB / 0.5218 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.4579, allocations: 10.44 kB / 0.5218 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.458, allocations: 51.55 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.458, allocations: 1.156 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.458, allocations: 4.656 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4581, allocations: 1.156 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.4582, allocations: 28.31 kB / 0.5219 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.4585, allocations: 303.5 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.4586, allocations: 46.77 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.4587, allocations: 19.31 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.4587, allocations: 1.219 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.4587, allocations: 36.11 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4587, allocations: 0 / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009364/0.4597, allocations: 226.3 kB / 0.5225 GB, free: 448 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.4597, allocations: 60.47 kB / 0.5225 GB, free: 376 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.46, allocations: 272.6 kB / 0.5228 GB, free: 224 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.46, allocations: 25.7 kB / 0.5228 GB, free: 192 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.4601, allocations: 116 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.4601, allocations: 24.83 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.4602, allocations: 25.66 kB / 0.523 GB, free: 40 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4603, allocations: 327.8 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.4604, allocations: 22.59 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.4605, allocations: 26.7 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.4607, allocations: 67.09 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4607, allocations: 0 / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002504/0.4609, allocations: 103.4 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.461, allocations: 5.016 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.461, allocations: 0 / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.461, allocations: 1.656 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4611, allocations: 22.44 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4611, allocations: 8.594 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.4612, allocations: 7.812 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.4612, allocations: 7.484 kB / 0.5235 GB, free: 15.6 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.0001302/0.4613, allocations: 128 kB / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.4614, allocations: 17.56 kB / 0.5237 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.4617, allocations: 114.6 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4617, allocations: 5.125 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4617, allocations: 11.88 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4617, allocations: 0.5625 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.4623, allocations: 407.1 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4623, allocations: 9.859 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.4624, allocations: 17.09 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4624, allocations: 0 / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4624, allocations: 1.5 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.4624, allocations: 6.688 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4624, allocations: 0 / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.4627, allocations: 208.7 kB / 0.5244 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.4628, allocations: 96.56 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.4628, allocations: 1.906 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.4629, allocations: 9.625 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.463, allocations: 5.922 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.463, allocations: 6.219 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.4632, allocations: 200.6 kB / 0.5247 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4632, allocations: 1.188 kB / 0.5247 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.4635, allocations: 18.75 kB / 0.5248 GB, free: 14.64 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.001597/0.4651, allocations: 1.107 MB / 0.5258 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.4654, allocations: 60.84 kB / 0.5259 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4654, allocations: 0 / 0.5259 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.4655, allocations: 38.62 kB / 0.5259 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.4659, allocations: 17.72 kB / 0.5259 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.4683, allocations: 1.773 MB / 0.5277 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.4687, allocations: 0.7135 MB / 0.5284 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.4688, allocations: 16.25 kB / 0.5284 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.4689, allocations: 38.3 kB / 0.5284 GB, free: 11.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4689, allocations: 0 / 0.5284 GB, free: 11.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.4913, allocations: 3.345 MB / 0.5317 GB, free: 10.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.225, allocations: 16 kB / 0.5317 GB, free: 10.12 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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