Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.001231/0.001231, allocations: 105.3 kB / 16.4 MB, free: 6.465 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.001787/0.001787, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.209/0.209, allocations: 43.53 MB / 314.1 MB, free: 440 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.00206/0.00206, allocations: 81.61 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.106, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003098/0.1091, allocations: 1.79 MB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1114, allocations: 1.477 MB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.1114, allocations: 3.938 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.1118, allocations: 63.62 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1121, allocations: 87.53 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1125, allocations: 143.7 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.1127, allocations: 179.4 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.1128, allocations: 13.55 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.113, allocations: 79.62 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1132, allocations: 71.62 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.1132, allocations: 8 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1134, allocations: 63.97 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.1134, allocations: 31.91 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.58e-05/0.1135, allocations: 71.52 kB / 0.4914 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.1138, allocations: 163.3 kB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1138, allocations: 0 / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1138, allocations: 0 / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1138, allocations: 0 / 0.4916 GB, free: 7.961 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.0007106/0.1146, allocations: 478.3 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1146, allocations: 11.89 kB / 0.4921 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.1147, allocations: 38.69 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.1147, allocations: 20.84 kB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.1151, allocations: 235.9 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1151, allocations: 12.36 kB / 0.4924 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1151, allocations: 3.938 kB / 0.4924 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.1154, allocations: 101 kB / 0.4925 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1154, allocations: 0 / 0.4925 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1154, allocations: 7.984 kB / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.1155, allocations: 4 kB / 0.4925 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1156, allocations: 27.98 kB / 0.4925 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.1158, allocations: 210.5 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1161, allocations: 113 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1163, allocations: 41.69 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1163, allocations: 4 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.1165, allocations: 109 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.1165, allocations: 0 / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004778/0.117, allocations: 165.9 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.961e-05/0.1171, allocations: 132.5 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.1174, allocations: 215.8 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1174, allocations: 29.64 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.1175, allocations: 112.1 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.1176, allocations: 31.75 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.1176, allocations: 33.7 kB / 0.4936 GB, free: 5.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1178, allocations: 322.8 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.1179, allocations: 27.98 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.118, allocations: 69.12 kB / 0.494 GB, free: 5.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1182, allocations: 95.45 kB / 0.4941 GB, free: 5.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1182, 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.0002758/0.1185, allocations: 137.4 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1185, allocations: 4 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1185, allocations: 4 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1186, allocations: 0 / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1187, allocations: 32.05 kB / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1187, allocations: 0 / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.1188, allocations: 7.953 kB / 0.4943 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1188, allocations: 4 kB / 0.4943 GB, free: 4.852 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.0001305/0.1189, allocations: 141.6 kB / 0.4944 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.119, allocations: 15.91 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.119, allocations: 28.95 kB / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.119, allocations: 4 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1191, allocations: 0 / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1191, allocations: 4 kB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.1193, allocations: 217.5 kB / 0.4947 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1193, allocations: 0 / 0.4947 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.1193, allocations: 12.11 kB / 0.4947 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1193, allocations: 0 / 0.4947 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.1194, allocations: 8 kB / 0.4947 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1194, allocations: 3.938 kB / 0.4947 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1194, allocations: 0 / 0.4947 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.1197, allocations: 177.7 kB / 0.4949 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.1198, allocations: 89.05 kB / 0.495 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.1198, allocations: 4 kB / 0.495 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.1199, allocations: 4 kB / 0.495 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.1199, allocations: 11.98 kB / 0.495 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1199, allocations: 4 kB / 0.495 GB, free: 4.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1201, allocations: 169.5 kB / 0.4952 GB, free: 3.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1201, allocations: 7.938 kB / 0.4952 GB, free: 3.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1204, allocations: 39.89 kB / 0.4952 GB, free: 3.828 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.002114/0.1225, allocations: 1.044 MB / 0.4962 GB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.1228, allocations: 83.89 kB / 0.4963 GB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1228, allocations: 3.938 kB / 0.4963 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1229, allocations: 39.92 kB / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1233, allocations: 55.88 kB / 0.4964 GB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.1255, allocations: 1.813 MB / 0.4982 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.1259, allocations: 0.7165 MB / 0.4989 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1261, allocations: 37.45 kB / 0.4989 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.337e-05/0.1262, allocations: 51.36 kB / 0.499 GB, free: 15.87 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1262, allocations: 4 kB / 0.499 GB, free: 15.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.1553, allocations: 4.691 MB / 0.5035 GB, free: 11.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/7.892, allocations: 7.969 kB / 0.5036 GB, free: 11.1 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches