Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.001167/0.001167, 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.001134/0.001134, allocations: 188.9 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.41/1.41, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2168/0.2168, allocations: 44.17 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4472, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003085/0.4504, allocations: 1.563 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.4512, allocations: 431.8 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.4512, allocations: 1.25 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.4515, allocations: 24.08 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.4517, allocations: 40.17 kB / 0.5204 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.4521, allocations: 114.7 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.4523, allocations: 56.97 kB / 0.5206 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4524, allocations: 17.78 kB / 0.5206 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/0.4524, allocations: 26.95 kB / 0.5206 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.4525, allocations: 20.98 kB / 0.5207 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.4525, allocations: 4.25 kB / 0.5207 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.4527, allocations: 54.8 kB / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.4527, allocations: 13.72 kB / 0.5207 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.4528, allocations: 17.59 kB / 0.5208 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.453, allocations: 100.6 kB / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.453, allocations: 4.656 kB / 0.5209 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.453, allocations: 0 / 0.5209 GB, free: 1.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.453, allocations: 4.938 kB / 0.5209 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004227/0.4534, allocations: 375 kB / 0.5212 GB, free: 1.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4535, allocations: 10.92 kB / 0.5212 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.4535, allocations: 36.58 kB / 0.5213 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.4536, allocations: 8.5 kB / 0.5213 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.4537, allocations: 182.3 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.4538, allocations: 1.469 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.4538, allocations: 10.59 kB / 0.5215 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.4539, allocations: 66.41 kB / 0.5215 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.454, allocations: 0.5156 kB / 0.5215 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.454, allocations: 1.188 kB / 0.5215 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.454, allocations: 4 kB / 0.5215 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.882e-05/0.4541, allocations: 23.05 kB / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.4545, allocations: 294.8 kB / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.4546, allocations: 55.7 kB / 0.5219 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.4547, allocations: 24.08 kB / 0.5219 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.4547, allocations: 1.25 kB / 0.5219 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.4548, allocations: 32.38 kB / 0.5219 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4548, allocations: 4 kB / 0.5219 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006251/0.4554, allocations: 177.2 kB / 0.5221 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.4555, allocations: 79.05 kB / 0.5222 GB, free: 424 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.4556, allocations: 140.9 kB / 0.5223 GB, free: 304 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.4556, allocations: 26.86 kB / 0.5223 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.4556, allocations: 92.53 kB / 0.5224 GB, free: 180 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.4557, allocations: 25.09 kB / 0.5225 GB, free: 160 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.4557, allocations: 21.75 kB / 0.5225 GB, free: 140 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4559, allocations: 323.7 kB / 0.5228 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-05/0.456, allocations: 26.2 kB / 0.5228 GB, free: 15.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.4561, allocations: 49.06 kB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.4563, allocations: 69.95 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4563, allocations: 0.5156 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002553/0.4565, allocations: 108.4 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4566, allocations: 9 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4566, allocations: 0 / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4566, allocations: 0 / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.4567, allocations: 17.81 kB / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4567, allocations: 5.688 kB / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.4568, allocations: 11.88 kB / 0.5231 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.4568, allocations: 6.844 kB / 0.5231 GB, free: 15.69 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 8.799e-05/0.4569, allocations: 115 kB / 0.5232 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.4569, allocations: 9.406 kB / 0.5232 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.4572, allocations: 111.1 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4572, allocations: 5.172 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4572, allocations: 0.6562 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4573, allocations: 6.047 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.4578, allocations: 394.4 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4578, allocations: 0 / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.891e-05/0.4579, allocations: 18.77 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4579, allocations: 5.031 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.4579, allocations: 1.062 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4579, allocations: 0.5625 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4579, allocations: 1.031 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.4582, allocations: 202.5 kB / 0.5239 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.4583, allocations: 79.88 kB / 0.524 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.4583, allocations: 5.812 kB / 0.524 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.4584, allocations: 8.594 kB / 0.524 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.4584, allocations: 8.781 kB / 0.524 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.4584, allocations: 6.375 kB / 0.524 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.964e-05/0.4585, allocations: 114.6 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4585, allocations: 1.281 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.4588, allocations: 30.75 kB / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001462/0.4603, allocations: 1.058 MB / 0.5252 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.4605, allocations: 69.67 kB / 0.5253 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4605, allocations: 3.938 kB / 0.5253 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.735e-05/0.4606, allocations: 39.39 kB / 0.5253 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.461, allocations: 19.72 kB / 0.5253 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.4628, allocations: 1.488 MB / 0.5268 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.4631, allocations: 0.6952 MB / 0.5274 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.4632, allocations: 27.02 kB / 0.5275 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.4633, allocations: 25.81 kB / 0.5275 GB, free: 11.94 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4633, allocations: 0 / 0.5275 GB, free: 11.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.4821, allocations: 3.067 MB / 0.5305 GB, free: 10.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.244, allocations: 4.516 kB / 0.5305 GB, free: 10.62 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),der(t_new.y[1]),dummy,t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time