Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26",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.001466/0.001466, allocations: 114.4 kB / 17.78 MB, free: 5.133 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.001877/0.001877, allocations: 187 kB / 18.71 MB, free: 4.215 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.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2119/0.2119, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 59.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.453, allocations: 60.82 MB / 0.5184 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002916/0.456, allocations: 1.585 MB / 0.52 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.4568, allocations: 418.4 kB / 0.5204 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.4568, allocations: 0 / 0.5204 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.4571, allocations: 76.98 kB / 0.5205 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.4573, allocations: 59.33 kB / 0.5205 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.4577, allocations: 120 kB / 0.5206 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.4579, allocations: 70.31 kB / 0.5207 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.458, allocations: 15.11 kB / 0.5207 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.4581, allocations: 38.12 kB / 0.5208 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.4582, allocations: 57.95 kB / 0.5208 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.4582, allocations: 3.5 kB / 0.5208 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.4584, allocations: 47.47 kB / 0.5209 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.4584, allocations: 19.38 kB / 0.5209 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.4585, allocations: 25.59 kB / 0.5209 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.4587, allocations: 102.9 kB / 0.521 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4587, allocations: 0 / 0.521 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4587, allocations: 1.125 kB / 0.521 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4587, allocations: 0 / 0.521 GB, free: 1.91 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.0006343/0.4594, allocations: 411.9 kB / 0.5214 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/0.4594, allocations: 8.938 kB / 0.5214 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.4595, allocations: 38.31 kB / 0.5214 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.4596, allocations: 9.25 kB / 0.5214 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.4598, allocations: 193.1 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.4598, allocations: 3.141 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.4599, allocations: 10.47 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.4601, allocations: 53.33 kB / 0.5217 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.4601, allocations: 3.906 kB / 0.5217 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.4601, allocations: 8.641 kB / 0.5217 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.4602, allocations: 5.25 kB / 0.5217 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.4603, allocations: 30.5 kB / 0.5217 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.4608, allocations: 292.2 kB / 0.522 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.461, allocations: 48.95 kB / 0.5221 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.485e-05/0.4611, allocations: 20.3 kB / 0.5221 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.4611, allocations: 1.344 kB / 0.5221 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.4611, allocations: 35.12 kB / 0.5221 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4612, allocations: 1.375 kB / 0.5221 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001154/0.4623, allocations: 234.3 kB / 0.5223 GB, free: 0.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4624, allocations: 61.67 kB / 0.5224 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.4627, allocations: 201.4 kB / 0.5226 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.4627, allocations: 29.64 kB / 0.5226 GB, free: 484 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.4628, allocations: 117.7 kB / 0.5227 GB, free: 372 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.4628, allocations: 24.28 kB / 0.5228 GB, free: 352 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.4629, allocations: 22.34 kB / 0.5228 GB, free: 332 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.463, allocations: 321.8 kB / 0.5231 GB, free: 8 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.4631, allocations: 30.25 kB / 0.5231 GB, free: 0 / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.4632, allocations: 31.42 kB / 0.5231 GB, free: 15.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.4635, allocations: 75.77 kB / 0.5232 GB, free: 15.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4635, allocations: 0 / 0.5232 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002938/0.4638, allocations: 116.7 kB / 0.5233 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4638, allocations: 6.219 kB / 0.5233 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.4638, allocations: 3.938 kB / 0.5233 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4639, allocations: 0 / 0.5233 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.464, allocations: 22.59 kB / 0.5234 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.464, allocations: 3.938 kB / 0.5234 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.4641, allocations: 4.672 kB / 0.5234 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.4641, allocations: 3.297 kB / 0.5234 GB, free: 15.89 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.0001436/0.4643, allocations: 130.8 kB / 0.5235 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.4643, allocations: 9.859 kB / 0.5235 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.4647, allocations: 131.2 kB / 0.5236 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4647, allocations: 1.375 kB / 0.5236 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4647, allocations: 3.938 kB / 0.5236 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4647, allocations: 0.7031 kB / 0.5236 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.4653, allocations: 420.5 kB / 0.524 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4653, allocations: 4.641 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.4654, allocations: 22.73 kB / 0.5241 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4654, allocations: 4.031 kB / 0.5241 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4654, allocations: 1.719 kB / 0.5241 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4654, allocations: 0 / 0.5241 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4654, allocations: 1.125 kB / 0.5241 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.4657, allocations: 209.5 kB / 0.5243 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.4658, allocations: 89.03 kB / 0.5244 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4658, allocations: 5.688 kB / 0.5244 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.4659, allocations: 5.547 kB / 0.5244 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.466, allocations: 13.58 kB / 0.5244 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.466, allocations: 10.22 kB / 0.5244 GB, free: 15.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.4662, allocations: 157.4 kB / 0.5245 GB, free: 14.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4662, allocations: 0 / 0.5245 GB, free: 14.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.4664, allocations: 19.73 kB / 0.5246 GB, free: 14.93 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.001689/0.4681, allocations: 1.091 MB / 0.5256 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.4684, allocations: 76.47 kB / 0.5257 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4684, allocations: 1.188 kB / 0.5257 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.4686, allocations: 41.02 kB / 0.5257 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.4689, allocations: 26.5 kB / 0.5258 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.4714, allocations: 1.684 MB / 0.5274 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.4718, allocations: 0.7129 MB / 0.5281 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.112e-05/0.4719, allocations: 20.77 kB / 0.5281 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.472, allocations: 36.86 kB / 0.5282 GB, free: 11.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.472, allocations: 0 / 0.5282 GB, free: 11.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.4949, allocations: 3.084 MB / 0.5312 GB, free: 10.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/8.19, allocations: 13.98 kB / 0.5312 GB, free: 10.57 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,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.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time