Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",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.001158/0.001158, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001153/0.001153, allocations: 183.9 kB / 18.71 MB, free: 4.367 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.275/1.275, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2094/0.2094, allocations: 44.19 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3764, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002955/0.3794, allocations: 1.628 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3809, allocations: 1.057 MB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.176e-05/0.381, allocations: 1.156 kB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.3812, allocations: 19.25 kB / 0.5211 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.3815, allocations: 46.14 kB / 0.5211 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.382, allocations: 174.8 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3821, allocations: 70.72 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3823, allocations: 23.39 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.3823, allocations: 24.67 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.3825, allocations: 31.69 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3825, allocations: 4.906 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3826, allocations: 51.45 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.3827, allocations: 17.67 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.3828, allocations: 34.38 kB / 0.5215 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.383, allocations: 101 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.383, allocations: 1.125 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.383, allocations: 0 / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.383, allocations: 4 kB / 0.5216 GB, free: 1.137 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.0004852/0.3835, allocations: 394.2 kB / 0.522 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3836, allocations: 9.812 kB / 0.522 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.3836, allocations: 37.02 kB / 0.5221 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.3837, allocations: 10 kB / 0.5221 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3838, allocations: 196 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3838, allocations: 3.297 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3839, allocations: 6.656 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.384, allocations: 79.39 kB / 0.5223 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3841, allocations: 0.75 kB / 0.5223 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3841, allocations: 1.375 kB / 0.5223 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3841, allocations: 1 kB / 0.5223 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.3842, allocations: 39.11 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.3847, allocations: 306.1 kB / 0.5227 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.3848, allocations: 47.28 kB / 0.5227 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.3849, allocations: 26.14 kB / 0.5227 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3849, allocations: 0.6094 kB / 0.5227 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3849, allocations: 32.34 kB / 0.5228 GB, free: 36 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3849, allocations: 5.375 kB / 0.5228 GB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008388/0.3858, allocations: 225 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.3859, allocations: 78.58 kB / 0.5231 GB, free: 15.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.386, allocations: 146 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3861, allocations: 33.7 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.3861, allocations: 94.56 kB / 0.5233 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.3862, allocations: 19.44 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3862, allocations: 25.83 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3863, allocations: 320.4 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3865, allocations: 38.36 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3866, allocations: 58.42 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.3868, allocations: 91.3 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3868, allocations: 4.938 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002995/0.3872, allocations: 129.4 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3872, allocations: 6 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3872, allocations: 0 / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3872, allocations: 1.938 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3874, allocations: 22.44 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3874, allocations: 5.25 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/0.3874, allocations: 13.25 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3875, allocations: 2.328 kB / 0.524 GB, free: 15.1 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 (7): * Single equations (assignments): 7 * 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.494e-05/0.3876, allocations: 121.9 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.3876, allocations: 8.266 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.388, allocations: 136.2 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.388, allocations: 5.125 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.388, allocations: 4.875 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.388, allocations: 0.8438 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.3886, allocations: 407.5 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3886, allocations: 0 / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.3887, allocations: 20.42 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.3887, allocations: 4.5 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3887, allocations: 0 / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3887, allocations: 2.391 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3887, allocations: 3.938 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.389, allocations: 219.7 kB / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.3891, allocations: 90.73 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3891, allocations: 3.938 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.3892, allocations: 8.859 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.3893, allocations: 10.52 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3893, allocations: 5.625 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.3894, allocations: 110.3 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3894, allocations: 0 / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3897, allocations: 33.12 kB / 0.5252 GB, free: 14.19 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 (7): * Single equations (assignments): 7 * 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.001557/0.3912, allocations: 1.097 MB / 0.5263 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.3916, allocations: 94.23 kB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3916, allocations: 0 / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.3918, allocations: 50.41 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.3922, allocations: 20.27 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.3944, allocations: 1.598 MB / 0.528 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3948, allocations: 0.696 MB / 0.5286 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.3949, allocations: 32.33 kB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.395, allocations: 35.7 kB / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.395, allocations: 0 / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.4185, allocations: 3.144 MB / 0.5318 GB, free: 9.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/7.985, allocations: 13.36 kB / 0.5318 GB, free: 9.746 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time