Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.001778/0.001778, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001941/0.001941, 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.381/1.381, 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.2064/0.2064, allocations: 43.54 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.001974/0.001974, allocations: 65.94 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 57.8 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00304/0.1053, allocations: 1.841 MB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1067, allocations: 0.9091 MB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.1068, allocations: 3.938 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.1072, allocations: 223.4 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.1076, allocations: 167.4 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.108, allocations: 147.7 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.1083, allocations: 227.3 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1084, allocations: 25.52 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1085, allocations: 111.6 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1087, allocations: 143.5 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.1088, allocations: 8 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-05/0.1089, allocations: 47.98 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-05/0.109, allocations: 55.75 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1091, allocations: 83.36 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.1094, allocations: 219 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1094, allocations: 0 / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1094, allocations: 0 / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1094, allocations: 0 / 0.4916 GB, free: 8 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007207/0.1101, allocations: 0.5484 MB / 0.4921 GB, free: 7.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1102, allocations: 11.89 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.1102, allocations: 38.75 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.1103, allocations: 32.75 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.1106, allocations: 272.4 kB / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1107, allocations: 8.375 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1107, allocations: 7.938 kB / 0.4925 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.1109, allocations: 99.3 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1109, allocations: 0 / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1109, allocations: 4 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.111, allocations: 7.984 kB / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1111, allocations: 35.98 kB / 0.4926 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.1116, allocations: 452.9 kB / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.1119, allocations: 113.3 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.112, allocations: 49.69 kB / 0.4932 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.112, allocations: 0 / 0.4932 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.1123, allocations: 117 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 4.579e-06/0.1123, allocations: 0 / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008578/0.1131, allocations: 380.9 kB / 0.4937 GB, free: 5.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.1132, allocations: 81.05 kB / 0.4937 GB, free: 5.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.1136, allocations: 424.5 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1137, allocations: 33.69 kB / 0.4942 GB, free: 5.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1138, allocations: 156.4 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.1138, allocations: 59.5 kB / 0.4944 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.1139, allocations: 37.66 kB / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1141, allocations: 342.8 kB / 0.4947 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1142, allocations: 39.98 kB / 0.4948 GB, free: 4.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1143, allocations: 67.41 kB / 0.4948 GB, free: 4.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.1145, allocations: 119.4 kB / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1145, allocations: 0 / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003292/0.1149, allocations: 181.4 kB / 0.4951 GB, free: 4.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1149, allocations: 8 kB / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1149, allocations: 0 / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1149, allocations: 4.062 kB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.1151, allocations: 39.86 kB / 0.4952 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1151, allocations: 0 / 0.4952 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.1152, allocations: 11.98 kB / 0.4952 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1152, allocations: 8 kB / 0.4952 GB, free: 3.98 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001517/0.1153, allocations: 165.7 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.1154, allocations: 31.77 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.1155, allocations: 38.62 kB / 0.4954 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.1155, allocations: 11.94 kB / 0.4954 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1155, allocations: 0 / 0.4954 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1155, allocations: 0 / 0.4954 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007622/0.1163, allocations: 0.6206 MB / 0.496 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1163, allocations: 0 / 0.496 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.1163, allocations: 27.92 kB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1163, allocations: 4 kB / 0.4961 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1164, allocations: 4.062 kB / 0.4961 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1164, allocations: 4 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1164, allocations: 0 / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.1168, allocations: 368.1 kB / 0.4964 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.1169, allocations: 100.9 kB / 0.4965 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.1169, allocations: 15.98 kB / 0.4965 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1171, allocations: 4.375 kB / 0.4965 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.1171, allocations: 11.98 kB / 0.4966 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.1171, allocations: 15.98 kB / 0.4966 GB, free: 2.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000316/0.1175, allocations: 315 kB / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1175, allocations: 4 kB / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.1178, allocations: 39.98 kB / 0.4969 GB, free: 2.105 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.002298/0.1201, allocations: 1.271 MB / 0.4982 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1204, allocations: 115.8 kB / 0.4983 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1204, allocations: 0 / 0.4983 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1206, allocations: 59.91 kB / 0.4983 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.1211, allocations: 57.92 kB / 0.4984 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.1244, allocations: 2.636 MB / 0.501 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.1249, allocations: 0.7632 MB / 0.5017 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.454e-05/0.125, allocations: 33.91 kB / 0.5017 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.1251, allocations: 83.41 kB / 0.5018 GB, free: 12.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1252, allocations: 0 / 0.5018 GB, free: 12.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.1534, allocations: 5.747 MB / 0.5074 GB, free: 7.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.031, allocations: 3.938 kB / 0.5074 GB, free: 7.18 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches