Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",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.001626/0.001626, allocations: 103.4 kB / 16.4 MB, free: 6.496 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.001875/0.001875, allocations: 189.5 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1923/0.1923, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 63.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1105, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.002924/0.1134, allocations: 1.551 MB / 0.4889 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000606/0.1141, allocations: 327.5 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.1141, allocations: 0 / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.1144, allocations: 27.84 kB / 0.4893 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.1146, allocations: 39.78 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1149, allocations: 99.75 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.115, allocations: 59.77 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1151, allocations: 19.97 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.429e-05/0.1152, allocations: 19.88 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.1153, allocations: 15.92 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1153, allocations: 4 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1154, allocations: 35.97 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.1155, allocations: 15.94 kB / 0.4896 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.1155, allocations: 27.8 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1157, allocations: 75.73 kB / 0.4897 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1157, allocations: 0 / 0.4897 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1157, allocations: 0 / 0.4897 GB, free: 9.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1157, allocations: 3.938 kB / 0.4897 GB, free: 9.992 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.000503/0.1162, allocations: 391.1 kB / 0.49 GB, free: 9.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1163, allocations: 11.89 kB / 0.49 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.1163, allocations: 30.75 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.1164, allocations: 12.84 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1166, allocations: 191.6 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1166, allocations: 4.375 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.1166, allocations: 384 / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1168, allocations: 57.56 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1168, allocations: 0 / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1168, allocations: 0 / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1168, allocations: 0 / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.1169, allocations: 27.97 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.1173, allocations: 284.8 kB / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1176, allocations: 46.5 kB / 0.4907 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.1176, allocations: 16.94 kB / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1176, allocations: 0 / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.1177, allocations: 34.56 kB / 0.4907 GB, free: 8.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1177, allocations: 0 / 0.4907 GB, free: 8.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005551/0.1182, allocations: 149.3 kB / 0.4909 GB, free: 8.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1183, allocations: 55.41 kB / 0.4909 GB, free: 8.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.1184, allocations: 165.8 kB / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1185, allocations: 25.7 kB / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.1185, allocations: 96.08 kB / 0.4912 GB, free: 8.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1185, allocations: 19.8 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.1186, allocations: 17.66 kB / 0.4912 GB, free: 8.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.1187, allocations: 326.8 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.1188, allocations: 19.98 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.1188, allocations: 19.98 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.119, allocations: 57.02 kB / 0.4916 GB, free: 7.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.119, allocations: 4 kB / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001733/0.1192, allocations: 93.44 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1192, allocations: 4 kB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1192, allocations: 4 kB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1192, allocations: 0 / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.1193, allocations: 11.98 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.1193, allocations: 0 / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.1193, allocations: 4 kB / 0.4917 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1194, allocations: 7.938 kB / 0.4917 GB, free: 7.617 MB / 382.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 (5): * Single equations (assignments): 5 * 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.564e-05/0.1195, allocations: 125.8 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.1195, allocations: 7.906 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.1197, allocations: 109.9 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1198, allocations: 288 / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.1198, allocations: 3.984 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1198, allocations: 0 / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.1202, allocations: 362.4 kB / 0.4923 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1202, allocations: 3.938 kB / 0.4923 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.1203, allocations: 11.98 kB / 0.4923 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1203, allocations: 0 / 0.4923 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1203, allocations: 0 / 0.4923 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1203, allocations: 8.125 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1203, allocations: 0 / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1205, allocations: 183.4 kB / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.1206, allocations: 85.02 kB / 0.4926 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1206, allocations: 0 / 0.4926 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.1206, allocations: 15.92 kB / 0.4926 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.1207, allocations: 4 kB / 0.4926 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.1207, allocations: 0 / 0.4926 GB, free: 6.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.231e-05/0.1208, allocations: 130.7 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.452e-06/0.1208, allocations: 0 / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.121, allocations: 23.92 kB / 0.4928 GB, free: 6.457 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001177/0.1222, allocations: 1.014 MB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1224, allocations: 59.89 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1224, allocations: 0 / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.365e-05/0.1225, allocations: 23.98 kB / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1229, allocations: 23.2 kB / 0.4939 GB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1243, allocations: 1.472 MB / 0.4953 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.1245, allocations: 0.704 MB / 0.496 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.1246, allocations: 8 kB / 0.496 GB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.1247, allocations: 27.42 kB / 0.496 GB, free: 3.039 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1247, allocations: 3.938 kB / 0.496 GB, free: 3.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.1427, allocations: 2.594 MB / 0.4986 GB, free: 428 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.688, allocations: 15.95 kB / 0.4986 GB, free: 412 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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]),t_new.columns[1],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[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time