Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",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.001625/0.001625, allocations: 114.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.001781/0.001781, allocations: 187 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.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2182/0.2182, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3564, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002594/0.3591, allocations: 1.586 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006327/0.3597, allocations: 418.7 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.3598, allocations: 1.531 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.3601, allocations: 124 kB / 0.5205 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.3603, allocations: 82.44 kB / 0.5206 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.3606, allocations: 116 kB / 0.5207 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3607, allocations: 87.08 kB / 0.5208 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3609, allocations: 15.42 kB / 0.5208 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.69e-05/0.3609, allocations: 48.31 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.3611, allocations: 84.72 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.3611, allocations: 2.438 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/0.3612, allocations: 42.8 kB / 0.521 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.3612, allocations: 31.97 kB / 0.521 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.3613, allocations: 36.14 kB / 0.521 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.3615, allocations: 117.7 kB / 0.5211 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3615, allocations: 0 / 0.5211 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3615, allocations: 1.672 kB / 0.5211 GB, free: 1.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.3615, allocations: 0 / 0.5211 GB, free: 1.66 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.0003713/0.3619, allocations: 426.3 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3619, allocations: 10.48 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.3619, allocations: 36.67 kB / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.362, allocations: 11.41 kB / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3621, allocations: 208.7 kB / 0.5218 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.3621, allocations: 1.75 kB / 0.5218 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.3622, allocations: 6.406 kB / 0.5218 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.3623, allocations: 53.38 kB / 0.5219 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3623, allocations: 0 / 0.5219 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.3623, allocations: 6.031 kB / 0.5219 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3623, allocations: 5.344 kB / 0.5219 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.058e-05/0.3624, allocations: 28.69 kB / 0.5219 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.3627, allocations: 310.3 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.215e-05/0.3628, allocations: 50.12 kB / 0.5223 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.3629, allocations: 20.19 kB / 0.5223 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.3629, allocations: 4 kB / 0.5223 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.3629, allocations: 32.55 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.3629, allocations: 0 / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007929/0.3637, allocations: 248.2 kB / 0.5225 GB, free: 436 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.3638, allocations: 57.38 kB / 0.5226 GB, free: 368 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.364, allocations: 269.3 kB / 0.5229 GB, free: 220 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.364, allocations: 25.7 kB / 0.5229 GB, free: 188 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.3641, allocations: 116.6 kB / 0.523 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.3641, allocations: 24.56 kB / 0.523 GB, free: 60 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.3641, allocations: 22.05 kB / 0.523 GB, free: 40 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3643, allocations: 327.5 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.3644, allocations: 30.11 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.104e-05/0.3645, allocations: 31.62 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3646, allocations: 75.56 kB / 0.5235 GB, free: 15.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3646, allocations: 0 / 0.5235 GB, free: 15.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002111/0.3649, allocations: 121.3 kB / 0.5236 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3649, allocations: 9.297 kB / 0.5236 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3649, allocations: 4.094 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3649, allocations: 5.719 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.365, allocations: 16.41 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.365, allocations: 5 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.3651, allocations: 5.094 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3651, allocations: 2.219 kB / 0.5236 GB, free: 15.59 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.0001039/0.3652, allocations: 133.9 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.3652, allocations: 14.66 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.3655, allocations: 142.5 kB / 0.5239 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3655, allocations: 1.969 kB / 0.5239 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3655, allocations: 8.672 kB / 0.5239 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3655, allocations: 0 / 0.5239 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.3661, allocations: 419.4 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.3661, allocations: 4.594 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.734e-05/0.3662, allocations: 21.45 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3662, allocations: 1.188 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3662, allocations: 5.062 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3662, allocations: 1.844 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3662, allocations: 0 / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.3665, allocations: 223.3 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.3665, allocations: 93.53 kB / 0.5247 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.3666, allocations: 2.406 kB / 0.5247 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.3666, allocations: 3.688 kB / 0.5247 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.3667, allocations: 9.75 kB / 0.5247 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3667, allocations: 3.094 kB / 0.5247 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.3669, allocations: 201.7 kB / 0.5249 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3669, allocations: 0 / 0.5249 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.3671, allocations: 24.09 kB / 0.5249 GB, free: 14.61 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.001373/0.3685, allocations: 1.112 MB / 0.526 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3688, allocations: 80.69 kB / 0.5261 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3688, allocations: 0 / 0.5261 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.3689, allocations: 37.61 kB / 0.5261 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3692, allocations: 14.73 kB / 0.5261 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.3711, allocations: 1.818 MB / 0.5279 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.3714, allocations: 0.7216 MB / 0.5286 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.89e-05/0.3715, allocations: 21.31 kB / 0.5286 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.3716, allocations: 41.05 kB / 0.5286 GB, free: 11.61 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3716, allocations: 0 / 0.5286 GB, free: 11.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.391, allocations: 3.391 MB / 0.532 GB, free: 10 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.933, allocations: 12.16 kB / 0.532 GB, free: 9.996 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time