Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",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.001073/0.001073, allocations: 113.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.00113/0.00113, allocations: 188.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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2054/0.2053, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4481, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003344/0.4515, allocations: 1.615 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008273/0.4524, allocations: 426.7 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.4525, allocations: 0 / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.4528, allocations: 98.03 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.4531, allocations: 75.27 kB / 0.5206 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.4536, allocations: 110.5 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.4538, allocations: 92.75 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.454, allocations: 26.44 kB / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.4541, allocations: 45.5 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.4543, allocations: 65.81 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.4543, allocations: 4.594 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.4544, allocations: 45.16 kB / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.4545, allocations: 26.16 kB / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.4546, allocations: 41.8 kB / 0.521 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.4549, allocations: 127.5 kB / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4549, allocations: 1.75 kB / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4549, allocations: 0 / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.4549, allocations: 0 / 0.5212 GB, free: 1.602 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005105/0.4554, allocations: 425.7 kB / 0.5216 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4555, allocations: 13.75 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.4555, allocations: 38.58 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.4556, allocations: 14.72 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.4558, allocations: 206.1 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4558, allocations: 6.688 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.4558, allocations: 7.688 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.456, allocations: 78.05 kB / 0.5219 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.456, allocations: 1.703 kB / 0.5219 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4561, allocations: 4 kB / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4561, allocations: 6.312 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.4562, allocations: 42.06 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.4567, allocations: 346.7 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.4569, allocations: 70.98 kB / 0.5224 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.457, allocations: 23.56 kB / 0.5224 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.457, allocations: 5.094 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.457, allocations: 32.42 kB / 0.5224 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.457, allocations: 0 / 0.5224 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001141/0.4582, allocations: 343.2 kB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.4582, allocations: 53.91 kB / 0.5228 GB, free: 236 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.4585, allocations: 228.2 kB / 0.523 GB, free: 96 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.4585, allocations: 26.77 kB / 0.523 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.4586, allocations: 115 kB / 0.5232 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.4587, allocations: 40.73 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.4587, allocations: 24.73 kB / 0.5232 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4589, allocations: 332.7 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.459, allocations: 44.91 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.4591, allocations: 42.89 kB / 0.5236 GB, free: 15.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.4594, allocations: 104 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4594, allocations: 1.156 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002989/0.4597, allocations: 159.2 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4597, allocations: 8.781 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4597, allocations: 4.688 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4598, allocations: 1.531 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.4599, allocations: 24.84 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.4599, allocations: 1.641 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/0.46, allocations: 8.938 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.46, allocations: 3.922 kB / 0.5239 GB, free: 15.43 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 (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.0001259/0.4601, allocations: 135.3 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.4602, allocations: 17.86 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.4606, allocations: 190.6 kB / 0.5242 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.4606, allocations: 5.188 kB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4606, allocations: 1.781 kB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4606, allocations: 8.531 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007184/0.4614, allocations: 0.4948 MB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4614, allocations: 4 kB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/0.4615, allocations: 24.34 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4615, allocations: 2.625 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.4615, allocations: 6.281 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4615, allocations: 3.984 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4615, allocations: 1.344 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.4619, allocations: 263.3 kB / 0.525 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.4619, allocations: 84.89 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.4619, allocations: 2.375 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.462, allocations: 9.984 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.4621, allocations: 6.969 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.4621, allocations: 4.328 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.4623, allocations: 176.3 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4623, allocations: 0 / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.4626, allocations: 34.69 kB / 0.5253 GB, free: 14.38 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 (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 Backend phase and start with SimCode phase: time 0.001641/0.4642, allocations: 1.124 MB / 0.5264 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.4645, allocations: 105.6 kB / 0.5265 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4646, allocations: 7.875 kB / 0.5265 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.4647, allocations: 64.02 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.4651, allocations: 21.42 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.4676, allocations: 1.899 MB / 0.5285 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.468, allocations: 0.7253 MB / 0.5292 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.4682, allocations: 25.3 kB / 0.5292 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.4683, allocations: 40.45 kB / 0.5293 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4683, allocations: 0 / 0.5293 GB, free: 11.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.4931, allocations: 3.561 MB / 0.5327 GB, free: 9.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.985, allocations: 6.969 kB / 0.5327 GB, free: 9.594 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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,clock.y,d_t_new2.y,d2_t_new.y,d2_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d2_t_new2.u,d2_t_new2.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d2_t_new2.u),der(d_t_new.u),der(d_t_new2.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.columns[2],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[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.u[1],t_new.u[2],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time