Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.001499/0.001499, allocations: 105.2 kB / 16.41 MB, free: 6.5 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.001517/0.001517, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.315/1.315, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2015/0.2015, allocations: 43.52 MB / 314.1 MB, free: 448 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.00151/0.00151, allocations: 73.45 kB / 441.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.1006, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003349/0.104, allocations: 1.782 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.1066, allocations: 1.484 MB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1068, allocations: 7.938 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.1072, allocations: 55.69 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.1076, allocations: 87.59 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.1081, allocations: 143.6 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.1084, allocations: 179.5 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.61e-05/0.1085, allocations: 17.48 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1087, allocations: 87.56 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.1089, allocations: 75.42 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.109, allocations: 8 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.1091, allocations: 67.95 kB / 0.4913 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.1092, allocations: 23.92 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.1093, allocations: 63.53 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.1096, allocations: 167.5 kB / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1096, allocations: 0 / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1096, allocations: 0 / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1096, allocations: 0 / 0.4916 GB, free: 7.969 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006543/0.1103, allocations: 470.6 kB / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1103, allocations: 11.89 kB / 0.492 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.1104, allocations: 34.73 kB / 0.4921 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.1104, allocations: 16.75 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.1108, allocations: 259.6 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1108, allocations: 384 / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1108, allocations: 11.94 kB / 0.4924 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1111, allocations: 97.08 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1111, allocations: 3.938 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1111, allocations: 0 / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1111, allocations: 4 kB / 0.4925 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1112, allocations: 27.98 kB / 0.4925 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.1115, allocations: 218.5 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.1118, allocations: 113 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1119, allocations: 37.7 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1119, allocations: 0 / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.1122, allocations: 109 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1122, allocations: 4 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004766/0.1127, allocations: 165.4 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.1128, allocations: 132.5 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.113, allocations: 211.8 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.113, allocations: 29.7 kB / 0.4935 GB, free: 5.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.1131, allocations: 108.1 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.1131, allocations: 39.62 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.1132, allocations: 25.72 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1133, allocations: 330.8 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.1134, allocations: 31.92 kB / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1135, allocations: 69.14 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1137, allocations: 99.88 kB / 0.4941 GB, free: 5.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1137, allocations: 3.938 kB / 0.4941 GB, free: 5.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002606/0.1139, allocations: 133.4 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.114, allocations: 4 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.114, allocations: 0 / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.114, allocations: 4 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1141, allocations: 23.98 kB / 0.4943 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1141, allocations: 8.062 kB / 0.4943 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.1142, allocations: 7.906 kB / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1142, allocations: 4 kB / 0.4943 GB, free: 4.855 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001072/0.1143, allocations: 141.6 kB / 0.4944 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.1144, allocations: 15.81 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.1144, allocations: 20.98 kB / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1144, allocations: 4 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1145, allocations: 0 / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1145, allocations: 4 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1146, allocations: 213.5 kB / 0.4947 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1146, allocations: 7.969 kB / 0.4947 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.1147, allocations: 8 kB / 0.4947 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1147, allocations: 0 / 0.4947 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1147, allocations: 0 / 0.4947 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1147, allocations: 7.938 kB / 0.4947 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1147, allocations: 128 / 0.4947 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.115, allocations: 177.6 kB / 0.4949 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.1151, allocations: 92.92 kB / 0.495 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.1151, allocations: 4 kB / 0.495 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.405e-05/0.1152, allocations: 4 kB / 0.495 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1152, allocations: 11.98 kB / 0.495 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1153, allocations: 4 kB / 0.495 GB, free: 4.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1154, allocations: 161.5 kB / 0.4951 GB, free: 3.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.324e-06/0.1154, allocations: 0 / 0.4951 GB, free: 3.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1157, allocations: 43.92 kB / 0.4952 GB, free: 3.852 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001426/0.1171, allocations: 1.051 MB / 0.4962 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.1174, allocations: 79.89 kB / 0.4963 GB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1174, allocations: 3.938 kB / 0.4963 GB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1175, allocations: 43.92 kB / 0.4963 GB, free: 2.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1179, allocations: 47.39 kB / 0.4964 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.1201, allocations: 1.812 MB / 0.4982 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1204, allocations: 0.7164 MB / 0.4989 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.1205, allocations: 38.02 kB / 0.4989 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.1206, allocations: 55.34 kB / 0.4989 GB, free: 15.89 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1206, allocations: 0 / 0.4989 GB, free: 15.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.144, allocations: 4.761 MB / 0.5036 GB, free: 11.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.293, allocations: 11.84 kB / 0.5036 GB, free: 11.05 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new_2.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time