Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.001555/0.001555, allocations: 105.7 kB / 16.4 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.001758/0.001758, allocations: 189.5 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.43/1.43, 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.205/0.205, allocations: 43.52 MB / 314.1 MB, free: 452 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.001523/0.001524, allocations: 78.03 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1118, allocations: 57.79 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00341/0.1153, allocations: 1.712 MB / 0.4891 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1168, allocations: 0.8153 MB / 0.4899 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.451e-05/0.1169, allocations: 0 / 0.4899 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.1174, allocations: 115.7 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.1177, allocations: 83.64 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.118, allocations: 83.77 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.1182, allocations: 127.7 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1183, allocations: 23.97 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1184, allocations: 55.77 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1186, allocations: 63.8 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1186, allocations: 4 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1187, allocations: 47.92 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.091e-05/0.1188, allocations: 31.91 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.1189, allocations: 51.61 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.1191, allocations: 131.6 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1191, allocations: 0 / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1191, allocations: 0 / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1191, allocations: 4 kB / 0.4907 GB, free: 8.836 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006523/0.1198, allocations: 446.7 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.1199, allocations: 11.89 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.1199, allocations: 42.62 kB / 0.4912 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.12, allocations: 12.75 kB / 0.4912 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.1204, allocations: 223.9 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1204, allocations: 8.375 kB / 0.4914 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1204, allocations: 11.84 kB / 0.4915 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1206, allocations: 65.61 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1207, allocations: 0 / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1207, allocations: 7.984 kB / 0.4915 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1207, allocations: 4 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1208, allocations: 27.98 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.1213, allocations: 312.7 kB / 0.4919 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1216, allocations: 82.77 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.138e-05/0.1217, allocations: 28.83 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.1217, allocations: 0 / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.1219, allocations: 75.36 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.1219, allocations: 3.938 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000769/0.1227, allocations: 229 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.1228, allocations: 55.34 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.1231, allocations: 246.7 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1231, allocations: 29.7 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.1232, allocations: 116.1 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.1232, allocations: 39.47 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.1233, allocations: 25.72 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1235, allocations: 326.8 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/0.1236, allocations: 35.98 kB / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/0.1237, allocations: 45.7 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1238, allocations: 77.7 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1238, allocations: 0 / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003122/0.1242, allocations: 133.4 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.1242, allocations: 8 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1242, allocations: 4.031 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1242, allocations: 3.938 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1244, allocations: 20 kB / 0.4934 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1244, allocations: 11.88 kB / 0.4934 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.1245, allocations: 7.984 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1245, allocations: 4 kB / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (13): * Single equations (assignments): 13 * 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.0001354/0.1246, allocations: 137.8 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.1247, allocations: 15.81 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.313e-05/0.1247, allocations: 29.38 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1247, allocations: 4 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1247, allocations: 3.938 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1248, allocations: 0 / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.1253, allocations: 447.1 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1253, allocations: 3.938 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.1254, allocations: 16 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1254, allocations: 0 / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1254, allocations: 7.984 kB / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1254, allocations: 4.031 kB / 0.494 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.1254, allocations: 0 / 0.494 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.1257, allocations: 236.3 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.646e-05/0.1258, allocations: 96.8 kB / 0.4943 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.1259, allocations: 7.984 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.1259, allocations: 4 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.126, allocations: 15.98 kB / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.126, allocations: 4 kB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.1262, allocations: 188.2 kB / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1262, allocations: 0 / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1265, allocations: 28 kB / 0.4946 GB, free: 4.523 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001613/0.1281, allocations: 1.112 MB / 0.4957 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.1284, allocations: 83.84 kB / 0.4957 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1284, allocations: 4.062 kB / 0.4958 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1285, allocations: 43.92 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1289, allocations: 35.56 kB / 0.4958 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1311, allocations: 1.877 MB / 0.4977 GB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1314, allocations: 0.7201 MB / 0.4984 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.422e-05/0.1315, allocations: 29.06 kB / 0.4984 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.58e-05/0.1316, allocations: 39.42 kB / 0.4984 GB, free: 500 kB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1316, allocations: 0 / 0.4984 GB, free: 500 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.1518, allocations: 3.98 MB / 0.5023 GB, free: 12.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.139, allocations: 16 kB / 0.5023 GB, free: 12.47 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches