Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001116/0.00112, allocations: 114.4 kB / 17.78 MB, free: 5.246 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.001023/0.001023, allocations: 187.8 kB / 18.71 MB, free: 4.324 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.432/1.432, 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.2312/0.2312, allocations: 44.17 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 59.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4474, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.004124/0.4516, allocations: 1.588 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.4525, allocations: 405.1 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.514e-05/0.4526, allocations: 1.375 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.453, allocations: 76.59 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.4533, allocations: 63.27 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.4536, allocations: 80.73 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.4539, allocations: 78.27 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.454, allocations: 18.56 kB / 0.5207 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.4541, allocations: 37.02 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.4542, allocations: 50.22 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.4542, allocations: 2.562 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.4543, allocations: 51.73 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.4544, allocations: 19.64 kB / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.4544, allocations: 30.28 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.4547, allocations: 101.1 kB / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4547, allocations: 1.219 kB / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.4547, allocations: 0 / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.4547, allocations: 3.938 kB / 0.521 GB, free: 1.668 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.0004874/0.4552, allocations: 403.3 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4552, allocations: 10.09 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.4553, allocations: 36.69 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.4553, allocations: 9.953 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.4555, allocations: 201.5 kB / 0.5216 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.4555, allocations: 1.469 kB / 0.5216 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.4555, allocations: 7.672 kB / 0.5216 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.4557, allocations: 60.05 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4557, allocations: 5.281 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.4557, allocations: 0 / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4557, allocations: 5.359 kB / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.4558, allocations: 24.66 kB / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.4562, allocations: 289.4 kB / 0.522 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.4563, allocations: 47.95 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/0.4564, allocations: 15.03 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.4564, allocations: 0 / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.4564, allocations: 36.2 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.4564, allocations: 5 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008934/0.4573, allocations: 214 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.4574, allocations: 61.3 kB / 0.5223 GB, free: 416 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.4576, allocations: 206.9 kB / 0.5225 GB, free: 280 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.4576, allocations: 29.7 kB / 0.5226 GB, free: 244 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.4577, allocations: 108.5 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.4577, allocations: 24.86 kB / 0.5227 GB, free: 120 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.4578, allocations: 21.77 kB / 0.5227 GB, free: 100 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4579, allocations: 325.9 kB / 0.523 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.458, allocations: 22.84 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.4581, allocations: 26.25 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.4583, allocations: 62.84 kB / 0.5231 GB, free: 15.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.4583, allocations: 0.9062 kB / 0.5231 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002696/0.4586, allocations: 101.1 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.4587, allocations: 5.344 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4587, allocations: 0 / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.4587, allocations: 2.125 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.4588, allocations: 20.69 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4589, allocations: 8.625 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.4589, allocations: 12.95 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.4589, allocations: 1.312 kB / 0.5233 GB, free: 15.66 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.0001279/0.4591, allocations: 123.8 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.4591, allocations: 8.469 kB / 0.5234 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.4595, allocations: 122.3 kB / 0.5235 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4595, allocations: 1.062 kB / 0.5235 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.4595, allocations: 4.641 kB / 0.5235 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4595, allocations: 9.672 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.4601, allocations: 404.3 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4602, allocations: 3.938 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/0.4602, allocations: 16.91 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4603, allocations: 1.219 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4603, allocations: 1.781 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4603, allocations: 5.469 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4603, allocations: 0 / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.4606, allocations: 204.5 kB / 0.5241 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.4607, allocations: 87.3 kB / 0.5242 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.4607, allocations: 2.578 kB / 0.5242 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.4608, allocations: 4.719 kB / 0.5242 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.4608, allocations: 18.28 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.4609, allocations: 2.719 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.461, allocations: 156.3 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4611, allocations: 0 / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.4613, allocations: 15.41 kB / 0.5244 GB, free: 14.73 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.001721/0.4631, allocations: 1.079 MB / 0.5255 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.4634, allocations: 71.62 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4634, allocations: 0 / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.4635, allocations: 39.23 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.4639, allocations: 23.28 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.466, allocations: 1.644 MB / 0.5272 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.4663, allocations: 0.7058 MB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.208e-05/0.4664, allocations: 8.484 kB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.4665, allocations: 33.23 kB / 0.5279 GB, free: 11.8 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4665, allocations: 4 kB / 0.5279 GB, free: 11.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.4894, allocations: 3.041 MB / 0.5309 GB, free: 10.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/8.091, allocations: 18.02 kB / 0.5309 GB, free: 10.48 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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(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.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time