Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",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.001765/0.001765, allocations: 110.4 kB / 17.78 MB, free: 5.293 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.002161/0.002161, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.487/1.487, 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.2394/0.2394, allocations: 44.19 MB / 336.8 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4577, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003188/0.461, allocations: 1.567 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.4618, allocations: 415.8 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.4619, allocations: 1.219 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.4621, allocations: 27.33 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.4623, allocations: 39.16 kB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.4626, allocations: 90.05 kB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.4628, allocations: 67.53 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.4629, allocations: 15.34 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.463, allocations: 24.58 kB / 0.5206 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.463, allocations: 24.22 kB / 0.5206 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.4631, allocations: 4.812 kB / 0.5206 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.4632, allocations: 55.44 kB / 0.5207 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.4633, allocations: 13.88 kB / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.4633, allocations: 26.47 kB / 0.5207 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.4635, allocations: 107 kB / 0.5208 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4636, allocations: 1.469 kB / 0.5208 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4636, allocations: 0 / 0.5208 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.4636, allocations: 0 / 0.5208 GB, free: 1.695 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004349/0.464, allocations: 378 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4641, allocations: 9.75 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.4641, allocations: 36.64 kB / 0.5212 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.4641, allocations: 17.03 kB / 0.5213 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.4643, allocations: 187.6 kB / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.4643, allocations: 1.562 kB / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.4644, allocations: 6.5 kB / 0.5215 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.4645, allocations: 68.59 kB / 0.5215 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4646, allocations: 1.094 kB / 0.5215 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.4646, allocations: 0 / 0.5215 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.4646, allocations: 1.5 kB / 0.5215 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.4647, allocations: 33.39 kB / 0.5216 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.4651, allocations: 292 kB / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.4653, allocations: 63.66 kB / 0.5219 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/0.4654, allocations: 24.41 kB / 0.5219 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.4654, allocations: 5.25 kB / 0.5219 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.4654, allocations: 32.16 kB / 0.5219 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.4654, allocations: 0 / 0.5219 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006318/0.4661, allocations: 188.1 kB / 0.5221 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.4661, allocations: 80.11 kB / 0.5222 GB, free: 420 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.4662, allocations: 140.4 kB / 0.5223 GB, free: 304 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.4663, allocations: 33.7 kB / 0.5224 GB, free: 264 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.4663, allocations: 89.77 kB / 0.5225 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.4663, allocations: 25.38 kB / 0.5225 GB, free: 156 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.4664, allocations: 22.33 kB / 0.5225 GB, free: 136 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4665, allocations: 323.4 kB / 0.5228 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.965e-05/0.4666, allocations: 35.48 kB / 0.5228 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.4667, allocations: 54.7 kB / 0.5229 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4669, allocations: 66.8 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4669, allocations: 0 / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002362/0.4672, allocations: 112.1 kB / 0.5231 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4672, allocations: 4.562 kB / 0.5231 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.4672, allocations: 1.812 kB / 0.5231 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4672, allocations: 0 / 0.5231 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.4673, allocations: 27.11 kB / 0.5231 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.4674, allocations: 1.766 kB / 0.5231 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.4674, allocations: 8.672 kB / 0.5231 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.4674, allocations: 2.938 kB / 0.5231 GB, free: 15.68 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 (9): * Single equations (assignments): 9 * 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.0001038/0.4675, allocations: 123.6 kB / 0.5232 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.4676, allocations: 8.375 kB / 0.5232 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.4679, allocations: 117.1 kB / 0.5233 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4679, allocations: 5.219 kB / 0.5234 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4679, allocations: 0.5156 kB / 0.5234 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4679, allocations: 4.734 kB / 0.5234 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.4684, allocations: 389.2 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4685, allocations: 0 / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.689e-05/0.4685, allocations: 16.91 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.4686, allocations: 9.016 kB / 0.5238 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.4686, allocations: 5.25 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.4686, allocations: 0.5156 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4686, allocations: 5.469 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.4689, allocations: 199.2 kB / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.4689, allocations: 84.64 kB / 0.524 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.469, allocations: 5.438 kB / 0.524 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.469, allocations: 12.75 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.4691, allocations: 9.422 kB / 0.5241 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.4691, allocations: 5.469 kB / 0.5241 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.4692, allocations: 108.4 kB / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4692, allocations: 0 / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.4695, allocations: 27.69 kB / 0.5242 GB, free: 14.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001574/0.4711, allocations: 1.08 MB / 0.5253 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.4714, allocations: 75.95 kB / 0.5253 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4714, allocations: 0 / 0.5253 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.4715, allocations: 36.59 kB / 0.5254 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.472, allocations: 13.84 kB / 0.5254 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.4739, allocations: 1.514 MB / 0.5269 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.4742, allocations: 0.6936 MB / 0.5275 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.181e-05/0.4743, allocations: 22 kB / 0.5276 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.4744, allocations: 30.23 kB / 0.5276 GB, free: 11.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4744, allocations: 0 / 0.5276 GB, free: 11.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.498, allocations: 3.112 MB / 0.5306 GB, free: 10.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.21, allocations: 7.562 kB / 0.5306 GB, free: 10.56 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),der(t_new.y[1]),dummy,t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time