Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",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.001417/0.001417, 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.001119/0.001119, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.448/1.448, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2176/0.2176, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4355, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.00312/0.4386, allocations: 1.616 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008322/0.4395, allocations: 425.7 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.4396, allocations: 1.375 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.4399, allocations: 89.92 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.4402, allocations: 78.95 kB / 0.5206 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.4405, allocations: 118.5 kB / 0.5207 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.4408, allocations: 88.3 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.4409, allocations: 34.31 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.555e-05/0.441, allocations: 42.14 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.4411, allocations: 57.33 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.4412, allocations: 5.438 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.4413, allocations: 52.12 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.4414, allocations: 31.09 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.4414, allocations: 37.05 kB / 0.521 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.4417, allocations: 121.1 kB / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4417, allocations: 0 / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4417, allocations: 0 / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.4417, allocations: 5.125 kB / 0.5212 GB, free: 1.598 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005178/0.4422, allocations: 424.4 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.4423, allocations: 13.91 kB / 0.5216 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.4423, allocations: 38.75 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.4424, allocations: 14.34 kB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.4426, allocations: 210.4 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.4426, allocations: 6.672 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.4426, allocations: 8.656 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.4428, allocations: 81.56 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4428, allocations: 1.703 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4428, allocations: 0 / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.4428, allocations: 2.156 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.443, allocations: 45.22 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.4434, allocations: 339.6 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.4436, allocations: 78.73 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.4436, allocations: 28.42 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.4437, allocations: 1.5 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.4437, allocations: 31.31 kB / 0.5224 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.4437, allocations: 0 / 0.5224 GB, free: 436 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001092/0.4448, allocations: 336.8 kB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.4448, allocations: 52.56 kB / 0.5228 GB, free: 236 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.4451, allocations: 233.4 kB / 0.523 GB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.4451, allocations: 29.7 kB / 0.523 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.4452, allocations: 114.7 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.4452, allocations: 41.47 kB / 0.5232 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.4453, allocations: 28.62 kB / 0.5232 GB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4454, allocations: 324.2 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.4456, allocations: 44.53 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.4457, allocations: 44 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.446, allocations: 107.9 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.446, allocations: 4 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003161/0.4463, allocations: 159.6 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4463, allocations: 6.203 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4463, allocations: 7.875 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4464, allocations: 0 / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.4465, allocations: 29.52 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.4465, allocations: 1.906 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.4465, allocations: 4.078 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4466, allocations: 4.703 kB / 0.5239 GB, free: 15.42 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 (13): * Single equations (assignments): 13 * 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.0001157/0.4467, allocations: 138.4 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.4467, allocations: 15.03 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.4471, allocations: 185.5 kB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4471, allocations: 5.375 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4471, allocations: 1.594 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4472, allocations: 0.5156 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.4479, allocations: 0.494 MB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4479, allocations: 1.984 kB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/0.448, allocations: 31.5 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.448, allocations: 1.188 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.448, allocations: 2.906 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.448, allocations: 1.188 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.448, allocations: 1.156 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.4484, allocations: 259.7 kB / 0.525 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.4485, allocations: 84.8 kB / 0.5251 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.4485, allocations: 5.984 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.4486, allocations: 5.281 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.4486, allocations: 12.36 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.4487, allocations: 8.047 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.4488, allocations: 176.2 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4488, allocations: 3.938 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.4491, allocations: 28.62 kB / 0.5253 GB, free: 14.38 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 (13): * Single equations (assignments): 13 * 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.001668/0.4508, allocations: 1.138 MB / 0.5264 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.4512, allocations: 113.7 kB / 0.5266 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4512, allocations: 3.938 kB / 0.5266 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.4514, allocations: 60.16 kB / 0.5266 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.4518, allocations: 21.92 kB / 0.5266 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.4544, allocations: 1.892 MB / 0.5285 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.4547, allocations: 0.7231 MB / 0.5292 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.149e-05/0.4548, allocations: 22.66 kB / 0.5292 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/0.4549, allocations: 44.47 kB / 0.5293 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4549, allocations: 0 / 0.5293 GB, free: 11.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.4807, allocations: 3.551 MB / 0.5327 GB, free: 9.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/8.097, allocations: 5.156 kB / 0.5327 GB, free: 9.59 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y,d2_t_new.y,d2_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d2_t_new2.u,d2_t_new2.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d2_t_new2.u),der(d_t_new.u),der(d_t_new2.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.columns[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u[1],t_new.u[2],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time