Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001574/0.001574, 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.001823/0.001823, allocations: 187.9 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.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2055/0.2055, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3925, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002667/0.3952, allocations: 1.568 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007155/0.3959, allocations: 435.3 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.396, allocations: 1.25 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.3962, allocations: 15.38 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.3964, allocations: 40.23 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.3967, allocations: 115.5 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.3969, allocations: 66.2 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.397, allocations: 7.234 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.745e-05/0.3971, allocations: 29.06 kB / 0.5206 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.3972, allocations: 20.02 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3972, allocations: 3.188 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.3973, allocations: 55.42 kB / 0.5207 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.3974, allocations: 14.08 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.3974, allocations: 21.62 kB / 0.5208 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.3977, allocations: 100.9 kB / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3977, allocations: 0 / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.3977, allocations: 0 / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3977, allocations: 5.125 kB / 0.5209 GB, free: 1.684 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004982/0.3982, allocations: 375.7 kB / 0.5212 GB, free: 1.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.3983, allocations: 10.33 kB / 0.5212 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.3983, allocations: 36.59 kB / 0.5213 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.3983, allocations: 12.31 kB / 0.5213 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.3985, allocations: 186.9 kB / 0.5215 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3986, allocations: 1.594 kB / 0.5215 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3986, allocations: 6.438 kB / 0.5215 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3988, allocations: 66.97 kB / 0.5215 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3988, allocations: 0 / 0.5215 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.3988, allocations: 0 / 0.5215 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3988, allocations: 1.094 kB / 0.5215 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.942e-05/0.3989, allocations: 27.36 kB / 0.5216 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.3994, allocations: 290.2 kB / 0.5218 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.3995, allocations: 52.16 kB / 0.5219 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.3996, allocations: 27.33 kB / 0.5219 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.3996, allocations: 5.578 kB / 0.5219 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3996, allocations: 32.31 kB / 0.5219 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3996, allocations: 0 / 0.5219 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006575/0.4003, allocations: 169.5 kB / 0.5221 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.4004, allocations: 83.42 kB / 0.5222 GB, free: 432 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4005, allocations: 146.8 kB / 0.5223 GB, free: 308 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.4005, allocations: 26.89 kB / 0.5223 GB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.4006, allocations: 89.23 kB / 0.5224 GB, free: 188 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.4006, allocations: 24.14 kB / 0.5225 GB, free: 168 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.4007, allocations: 22.89 kB / 0.5225 GB, free: 148 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4008, allocations: 323.1 kB / 0.5228 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.4009, allocations: 30.62 kB / 0.5228 GB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.401, allocations: 51.58 kB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.4012, allocations: 67.45 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4012, allocations: 1.25 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000234/0.4014, allocations: 107.4 kB / 0.523 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4015, allocations: 4.75 kB / 0.523 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4015, allocations: 2.062 kB / 0.523 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4015, allocations: 7.984 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4016, allocations: 24.67 kB / 0.5231 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4016, allocations: 1.25 kB / 0.5231 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.4017, allocations: 9.078 kB / 0.5231 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4017, allocations: 2.594 kB / 0.5231 GB, free: 15.69 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.0001045/0.4018, allocations: 119.1 kB / 0.5232 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.4018, allocations: 9.156 kB / 0.5232 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.4021, allocations: 114.4 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4021, allocations: 1.719 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.4021, allocations: 0.7031 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4022, allocations: 3.938 kB / 0.5233 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.4026, allocations: 388 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4027, allocations: 0.6562 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.4027, allocations: 18.45 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4027, allocations: 4.734 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.4027, allocations: 4.938 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4028, allocations: 1.25 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4028, allocations: 0.5625 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.403, allocations: 198.2 kB / 0.5239 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.4031, allocations: 79.23 kB / 0.524 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.4031, allocations: 6.078 kB / 0.524 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.4032, allocations: 12.88 kB / 0.524 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.4032, allocations: 4.828 kB / 0.524 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.4033, allocations: 9.719 kB / 0.524 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.424e-05/0.4033, allocations: 104.6 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4034, allocations: 0 / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.4036, allocations: 31.81 kB / 0.5241 GB, free: 14.78 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.001586/0.4052, allocations: 1.069 MB / 0.5252 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.4055, allocations: 73.77 kB / 0.5253 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4055, allocations: 1.156 kB / 0.5253 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.4056, allocations: 35.28 kB / 0.5253 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.406, allocations: 18.08 kB / 0.5253 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.4077, allocations: 1.49 MB / 0.5268 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.408, allocations: 0.6982 MB / 0.5274 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.4081, allocations: 25.2 kB / 0.5275 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.4082, allocations: 24.05 kB / 0.5275 GB, free: 11.94 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4082, allocations: 0 / 0.5275 GB, free: 11.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.429, allocations: 3.058 MB / 0.5305 GB, free: 10.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/7.795, allocations: 11.52 kB / 0.5305 GB, free: 10.61 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),der(t_new.y[1]),dummy,t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time