Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001215/0.001215, allocations: 106.1 kB / 16.4 MB, free: 6.438 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.001223/0.001223, 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2035/0.2035, allocations: 43.52 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.001527/0.001527, allocations: 65.62 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002995/0.1156, allocations: 1.562 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.117, allocations: 0.9378 MB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.1171, allocations: 0 / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.1173, allocations: 27.84 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.1175, allocations: 39.78 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.1178, allocations: 79.77 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1179, allocations: 59.84 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.118, allocations: 11.98 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/0.1181, allocations: 27.84 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.1182, allocations: 27.86 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1183, allocations: 0 / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.1184, allocations: 51.97 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.68e-05/0.1185, allocations: 7.984 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.1186, allocations: 19.88 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1188, allocations: 91.77 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1188, allocations: 4 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1188, allocations: 3.938 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1188, allocations: 0 / 0.4903 GB, free: 9.324 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.0004346/0.1192, allocations: 379.1 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1193, allocations: 15.89 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.1193, allocations: 30.75 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.1194, allocations: 8.844 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1195, allocations: 184.3 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-06/0.1196, allocations: 8.375 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1196, allocations: 384 / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1197, allocations: 67.28 kB / 0.4909 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1198, allocations: 3.984 kB / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1198, allocations: 4 kB / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1198, allocations: 0 / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.541e-05/0.1199, allocations: 19.98 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.1202, allocations: 272.9 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.1204, allocations: 42.5 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.1204, allocations: 20.86 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1205, allocations: 0 / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.274e-05/0.1205, allocations: 34.64 kB / 0.4913 GB, free: 8.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.346e-06/0.1206, allocations: 8 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005347/0.1211, allocations: 133.3 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.1212, allocations: 77.11 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.1213, allocations: 133.8 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1213, allocations: 29.7 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.1214, allocations: 92.05 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.1214, allocations: 23.69 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.1214, allocations: 17.7 kB / 0.4918 GB, free: 7.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.1215, allocations: 322.8 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.331e-05/0.1216, allocations: 15.98 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/0.1217, allocations: 37.69 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1218, allocations: 44.81 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1218, allocations: 3.938 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/0.122, allocations: 85.77 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.122, allocations: 7.984 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.122, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1221, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.1221, allocations: 12 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1221, allocations: 0 / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.1222, allocations: 7.984 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1222, allocations: 7.938 kB / 0.4923 GB, free: 6.965 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.293e-05/0.1223, allocations: 117.8 kB / 0.4924 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.1223, allocations: 7.906 kB / 0.4924 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.1225, allocations: 101.5 kB / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1226, allocations: 0 / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1226, allocations: 0 / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.1226, allocations: 288 / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.123, allocations: 346.4 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.123, allocations: 4 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.1231, allocations: 11.98 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1231, allocations: 3.984 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.1231, allocations: 0 / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1231, allocations: 3.938 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1231, allocations: 4 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.1233, allocations: 171.6 kB / 0.4931 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.1234, allocations: 81.17 kB / 0.4931 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1234, allocations: 7.984 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.1235, allocations: 11.94 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.1235, allocations: 0 / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1235, allocations: 7.984 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.51e-05/0.1236, allocations: 107.2 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.1236, allocations: 4 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1239, allocations: 23.94 kB / 0.4933 GB, free: 5.859 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.001304/0.1252, allocations: 1.034 MB / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1254, allocations: 51.84 kB / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1254, allocations: 0 / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.523e-05/0.1255, allocations: 19.98 kB / 0.4944 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1258, allocations: 23.92 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1273, allocations: 1.377 MB / 0.4957 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1276, allocations: 0.6924 MB / 0.4964 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.1276, allocations: 11.92 kB / 0.4964 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.1277, allocations: 23.42 kB / 0.4965 GB, free: 2.543 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1277, allocations: 4 kB / 0.4965 GB, free: 2.539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.1485, allocations: 2.756 MB / 0.4992 GB, free: 15.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/7.892, allocations: 11.91 kB / 0.4992 GB, free: 15.71 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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(clock.y),der(d_t_new.u),t_new.columns[1],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],time