Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001184/0.001184, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001139/0.001139, allocations: 188 kB / 18.71 MB, free: 4.387 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.21 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.241/0.241, allocations: 44.17 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3524, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002491/0.3549, allocations: 1.58 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006035/0.3555, allocations: 406.2 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.3556, allocations: 1.312 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.3559, allocations: 120.2 kB / 0.5205 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.3561, allocations: 89.67 kB / 0.5206 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.3564, allocations: 92.89 kB / 0.5207 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.3566, allocations: 86.47 kB / 0.5208 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.3567, allocations: 14.55 kB / 0.5208 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.3567, allocations: 48.17 kB / 0.5208 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3569, allocations: 84.05 kB / 0.5209 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.3569, allocations: 2.156 kB / 0.5209 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.357, allocations: 44.11 kB / 0.5209 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.357, allocations: 22.97 kB / 0.521 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.3571, allocations: 39.39 kB / 0.521 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.3572, allocations: 118.3 kB / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3573, allocations: 3.938 kB / 0.5211 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3573, allocations: 0 / 0.5211 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.3573, allocations: 1.125 kB / 0.5211 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003798/0.3577, allocations: 430.8 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3577, allocations: 9.688 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.687e-05/0.3577, allocations: 32.83 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.3578, allocations: 10.78 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3579, allocations: 205.2 kB / 0.5218 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3579, allocations: 10.3 kB / 0.5218 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.358, allocations: 6.281 kB / 0.5218 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.3581, allocations: 52.11 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3581, allocations: 8 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.3581, allocations: 0.9375 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3581, allocations: 1.906 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.303e-05/0.3582, allocations: 28.92 kB / 0.5219 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.3585, allocations: 310.8 kB / 0.5222 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.3586, allocations: 39.5 kB / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.3587, allocations: 23.39 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3587, allocations: 0 / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.3587, allocations: 32.31 kB / 0.5223 GB, free: 0.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3587, allocations: 1.094 kB / 0.5223 GB, free: 0.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007918/0.3595, allocations: 228.6 kB / 0.5225 GB, free: 460 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.3596, allocations: 56.25 kB / 0.5225 GB, free: 392 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.3598, allocations: 272.5 kB / 0.5228 GB, free: 240 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.3598, allocations: 26.89 kB / 0.5228 GB, free: 208 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.3599, allocations: 115.7 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.3599, allocations: 25.27 kB / 0.523 GB, free: 80 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.3599, allocations: 24.8 kB / 0.523 GB, free: 56 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3601, allocations: 331.6 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.3602, allocations: 22.39 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.139e-05/0.3602, allocations: 27.62 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3604, allocations: 62.72 kB / 0.5234 GB, free: 15.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3604, allocations: 0 / 0.5234 GB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001917/0.3606, allocations: 102.5 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3606, allocations: 6.516 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3606, allocations: 0 / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3606, allocations: 4.906 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.3607, allocations: 17.38 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3607, allocations: 3.938 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.3608, allocations: 9.047 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3608, allocations: 2.281 kB / 0.5235 GB, free: 15.62 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.0001003/0.3609, allocations: 137.2 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.3609, allocations: 19.34 kB / 0.5237 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.3612, allocations: 116.4 kB / 0.5238 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3612, allocations: 1.469 kB / 0.5238 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3612, allocations: 8.812 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3612, allocations: 1.438 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.3618, allocations: 414.7 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3618, allocations: 4.453 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.3619, allocations: 17.45 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3619, allocations: 1.031 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.3619, allocations: 2.234 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.3619, allocations: 1.953 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3619, allocations: 0 / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3621, allocations: 220.3 kB / 0.5244 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.3622, allocations: 93.03 kB / 0.5245 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3622, allocations: 1.797 kB / 0.5245 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.3623, allocations: 8.922 kB / 0.5245 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.3623, allocations: 9.172 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3623, allocations: 4.266 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.3625, allocations: 201.9 kB / 0.5247 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3625, allocations: 4 kB / 0.5248 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.3628, allocations: 18.23 kB / 0.5248 GB, free: 14.64 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.001428/0.3642, allocations: 1.088 MB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3644, allocations: 60.45 kB / 0.5259 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3644, allocations: 0 / 0.5259 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.3645, allocations: 43.02 kB / 0.5259 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3649, allocations: 18.09 kB / 0.5259 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3668, allocations: 1.778 MB / 0.5277 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3671, allocations: 0.7238 MB / 0.5284 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.3672, allocations: 14.84 kB / 0.5284 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.3673, allocations: 36.22 kB / 0.5284 GB, free: 11.67 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3673, allocations: 0 / 0.5284 GB, free: 11.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.3883, allocations: 3.334 MB / 0.5317 GB, free: 10.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.05, allocations: 19.77 kB / 0.5317 GB, free: 10.14 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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[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,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time