Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11",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.001872/0.001872, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001944/0.001944, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.384/1.384, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2072/0.2072, allocations: 43.53 MB / 314.1 MB, free: 456 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.001581/0.001581, allocations: 74.03 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1106, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.002886/0.1135, allocations: 1.55 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006546/0.1142, allocations: 327.5 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.1143, allocations: 0 / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.1146, allocations: 31.84 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.1148, allocations: 35.84 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.1151, allocations: 111.6 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1152, allocations: 47.91 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.1153, allocations: 15.98 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.1154, allocations: 27.84 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.1154, allocations: 11.92 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1155, allocations: 8 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.596e-05/0.1155, allocations: 35.94 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.1156, allocations: 15.92 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.1156, allocations: 23.8 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1158, allocations: 71.8 kB / 0.4896 GB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1158, allocations: 0 / 0.4896 GB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1158, allocations: 0 / 0.4896 GB, free: 9.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1158, allocations: 3.938 kB / 0.4897 GB, free: 9.965 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.0003918/0.1162, allocations: 387.1 kB / 0.49 GB, free: 9.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1162, allocations: 11.89 kB / 0.49 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.1163, allocations: 42.73 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.1163, allocations: 12.78 kB / 0.4901 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.1165, allocations: 191.8 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1165, allocations: 384 / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1165, allocations: 384 / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1167, allocations: 53.61 kB / 0.4903 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1167, allocations: 0 / 0.4903 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.1167, allocations: 0 / 0.4903 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1167, allocations: 0 / 0.4903 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.1168, allocations: 31.98 kB / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1172, allocations: 292.7 kB / 0.4906 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.1174, allocations: 38.56 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.1174, allocations: 20.94 kB / 0.4907 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1174, allocations: 0 / 0.4907 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.1175, allocations: 34.56 kB / 0.4907 GB, free: 8.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1175, allocations: 4 kB / 0.4907 GB, free: 8.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005441/0.118, allocations: 145.4 kB / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1181, allocations: 55.41 kB / 0.4909 GB, free: 8.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1182, allocations: 161.8 kB / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1182, allocations: 29.7 kB / 0.4911 GB, free: 8.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.1183, allocations: 104.1 kB / 0.4912 GB, free: 8.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.1183, allocations: 7.812 kB / 0.4912 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1184, allocations: 33.58 kB / 0.4912 GB, free: 8.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.1185, allocations: 318.8 kB / 0.4915 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.1185, allocations: 23.97 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.1186, allocations: 20.17 kB / 0.4916 GB, free: 7.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1188, allocations: 60.83 kB / 0.4916 GB, free: 7.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1188, allocations: 3.938 kB / 0.4916 GB, free: 7.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.119, allocations: 77.58 kB / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.119, allocations: 11.98 kB / 0.4917 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.119, allocations: 0 / 0.4917 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.119, allocations: 0 / 0.4917 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.1191, allocations: 11.94 kB / 0.4917 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1191, allocations: 0 / 0.4917 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1191, allocations: 15.98 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1192, allocations: 7.938 kB / 0.4918 GB, free: 7.57 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 7.286e-05/0.1192, allocations: 117.8 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.1193, allocations: 7.906 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.1195, allocations: 101.9 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1195, allocations: 0 / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1195, allocations: 0 / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1195, allocations: 4 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.1199, allocations: 362.3 kB / 0.4923 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.12, allocations: 0 / 0.4923 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.12, allocations: 12.17 kB / 0.4923 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.12, allocations: 4 kB / 0.4923 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.12, allocations: 4 kB / 0.4923 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1201, allocations: 3.938 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1201, allocations: 0 / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.1203, allocations: 191.4 kB / 0.4925 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.1203, allocations: 81.02 kB / 0.4926 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1204, allocations: 0 / 0.4926 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.1204, allocations: 7.938 kB / 0.4926 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1205, allocations: 7.984 kB / 0.4926 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.1205, allocations: 0 / 0.4926 GB, free: 6.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.066e-05/0.1206, allocations: 138.5 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1206, allocations: 0 / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1208, allocations: 8 kB / 0.4928 GB, free: 6.434 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.0013/0.1221, allocations: 1.022 MB / 0.4938 GB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1224, allocations: 51.97 kB / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1224, allocations: 0 / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.789e-05/0.1224, allocations: 27.97 kB / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1228, allocations: 23.86 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.1243, allocations: 1.472 MB / 0.4953 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1245, allocations: 0.6963 MB / 0.496 GB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.521e-05/0.1246, allocations: 11.98 kB / 0.496 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.1246, allocations: 23.42 kB / 0.496 GB, free: 3.016 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1247, allocations: 3.938 kB / 0.496 GB, free: 3.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.1433, allocations: 2.605 MB / 0.4986 GB, free: 400 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.092, allocations: 11.95 kB / 0.4986 GB, free: 388 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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