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.001229/0.001229, allocations: 113.4 kB / 17.78 MB, free: 5.281 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.001221/0.001221, allocations: 184.9 kB / 18.71 MB, free: 4.359 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.353/1.353, 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.2197/0.2197, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 67.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3857, allocations: 60.82 MB / 0.5184 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.003698/0.3895, allocations: 1.576 MB / 0.52 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007563/0.3902, allocations: 410.8 kB / 0.5204 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.3903, allocations: 0 / 0.5204 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.3907, allocations: 84.83 kB / 0.5205 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.3909, allocations: 59.02 kB / 0.5205 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.3912, allocations: 89.48 kB / 0.5206 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3914, allocations: 73.62 kB / 0.5207 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3915, allocations: 15.12 kB / 0.5207 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.3916, allocations: 37.58 kB / 0.5207 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.3917, allocations: 57.41 kB / 0.5208 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3918, allocations: 3.469 kB / 0.5208 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.3919, allocations: 47.22 kB / 0.5208 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.3919, allocations: 19.22 kB / 0.5208 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.392, allocations: 25.98 kB / 0.5209 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3922, allocations: 98.22 kB / 0.521 GB, free: 1.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3922, allocations: 4 kB / 0.521 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3922, allocations: 0 / 0.521 GB, free: 1.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3922, allocations: 5.031 kB / 0.521 GB, free: 1.93 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.0004557/0.3927, allocations: 403.6 kB / 0.5214 GB, free: 1.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3927, allocations: 9.094 kB / 0.5214 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.3928, allocations: 36.84 kB / 0.5214 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.3928, allocations: 9.688 kB / 0.5214 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.393, allocations: 201.3 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.393, allocations: 2.656 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.393, allocations: 6.406 kB / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3932, allocations: 52.25 kB / 0.5217 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3932, allocations: 5.031 kB / 0.5217 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3932, allocations: 8.5 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3932, allocations: 1.438 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.3933, allocations: 24.41 kB / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.3937, allocations: 290 kB / 0.522 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.86e-05/0.3938, allocations: 42.91 kB / 0.522 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.3938, allocations: 23.78 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3939, allocations: 0 / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.3939, allocations: 32.55 kB / 0.5221 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.184e-06/0.3939, allocations: 0 / 0.5221 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00086/0.3947, allocations: 227.6 kB / 0.5223 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.3948, allocations: 56.14 kB / 0.5223 GB, free: 0.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.395, allocations: 206.9 kB / 0.5225 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.395, allocations: 25.7 kB / 0.5226 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.3951, allocations: 108.3 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.3951, allocations: 25.27 kB / 0.5227 GB, free: 392 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.3951, allocations: 21.06 kB / 0.5227 GB, free: 372 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.3952, allocations: 326.3 kB / 0.523 GB, free: 44 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.3953, allocations: 22.19 kB / 0.523 GB, free: 40 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3954, allocations: 31.92 kB / 0.5231 GB, free: 28 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.3956, allocations: 58.67 kB / 0.5231 GB, free: 4 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.3956, allocations: 0 / 0.5231 GB, free: 4 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002513/0.3959, allocations: 105.8 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3959, allocations: 9.031 kB / 0.5232 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3959, allocations: 0 / 0.5232 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.396, allocations: 1.312 kB / 0.5232 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3961, allocations: 29.58 kB / 0.5233 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3961, allocations: 4.688 kB / 0.5233 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.3961, allocations: 4.125 kB / 0.5233 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3962, allocations: 3.109 kB / 0.5233 GB, free: 15.93 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 9.718e-05/0.3963, allocations: 122 kB / 0.5234 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.3963, allocations: 14.19 kB / 0.5234 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.3966, allocations: 117.4 kB / 0.5235 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3966, allocations: 1.188 kB / 0.5235 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3966, allocations: 5.031 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3966, allocations: 0.75 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.3971, allocations: 404.1 kB / 0.5239 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3972, allocations: 9.125 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.3972, allocations: 16.23 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3972, allocations: 0.9375 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3973, allocations: 5.844 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3973, allocations: 1.094 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.3973, allocations: 1.062 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.3975, allocations: 208.2 kB / 0.5241 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.3976, allocations: 88.91 kB / 0.5242 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.3976, allocations: 0.6562 kB / 0.5242 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.3977, allocations: 5.062 kB / 0.5242 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.3977, allocations: 14.41 kB / 0.5242 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.3977, allocations: 1.688 kB / 0.5242 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3979, allocations: 156.1 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3979, allocations: 0 / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.3982, allocations: 19.28 kB / 0.5244 GB, free: 14.99 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.001515/0.3997, allocations: 1.087 MB / 0.5255 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.3999, allocations: 68.44 kB / 0.5255 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.3999, allocations: 5.188 kB / 0.5255 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.4, allocations: 30.45 kB / 0.5256 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.4004, allocations: 22.59 kB / 0.5256 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.4025, allocations: 1.638 MB / 0.5272 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.403, allocations: 0.7144 MB / 0.5279 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.261e-05/0.403, allocations: 21.25 kB / 0.5279 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.4031, allocations: 31.92 kB / 0.5279 GB, free: 12.05 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4031, allocations: 0 / 0.5279 GB, free: 12.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.4251, allocations: 3.037 MB / 0.5309 GB, free: 10.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.934, allocations: 15.05 kB / 0.5309 GB, free: 10.71 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