Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.001299/0.001299, allocations: 102.5 kB / 16.4 MB, free: 6.41 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.001247/0.001247, allocations: 195.4 kB / 17.34 MB, free: 5.691 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.438/1.438, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2213/0.2213, allocations: 43.52 MB / 314.1 MB, free: 444 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.001995/0.001995, allocations: 69.62 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1236, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002927/0.1266, allocations: 1.696 MB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1279, allocations: 0.7923 MB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.1279, allocations: 3.938 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.1282, allocations: 55.73 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1284, allocations: 55.77 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1287, allocations: 91.7 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1289, allocations: 119.7 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.129, allocations: 12.22 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.818e-05/0.1291, allocations: 51.77 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.877e-05/0.1293, allocations: 43.84 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1293, allocations: 4 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.1294, allocations: 47.97 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.1295, allocations: 27.92 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.1295, allocations: 47.67 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1297, allocations: 131.4 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1297, allocations: 0 / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1298, allocations: 0 / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1298, allocations: 0 / 0.4906 GB, free: 9.027 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.0005779/0.1303, allocations: 422.7 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1304, allocations: 15.89 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1304, allocations: 30.75 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.1305, allocations: 16.88 kB / 0.491 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1308, allocations: 228.8 kB / 0.4913 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1308, allocations: 4.375 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.1308, allocations: 3.938 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.131, allocations: 69.66 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.131, allocations: 0 / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.131, allocations: 0 / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.131, allocations: 0 / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1311, allocations: 43.95 kB / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.1316, allocations: 316.7 kB / 0.4917 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1318, allocations: 74.67 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.1319, allocations: 32.83 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1319, allocations: 0 / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.1321, allocations: 87.36 kB / 0.4919 GB, free: 7.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.1321, allocations: 0 / 0.4919 GB, free: 7.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006189/0.1327, allocations: 233.3 kB / 0.4921 GB, free: 7.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1328, allocations: 51.41 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1329, allocations: 179.3 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.133, allocations: 33.69 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.133, allocations: 100.2 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.1331, allocations: 39.67 kB / 0.4925 GB, free: 6.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.1332, allocations: 29.7 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1333, allocations: 322.8 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.1334, allocations: 35.92 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.161e-05/0.1335, allocations: 45.64 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1336, allocations: 77.64 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1336, allocations: 4 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002233/0.1339, allocations: 133.5 kB / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1339, allocations: 4 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1339, allocations: 0 / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1339, allocations: 0 / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.134, allocations: 19.98 kB / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.134, allocations: 7.938 kB / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.1341, allocations: 3.938 kB / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1341, allocations: 8 kB / 0.4931 GB, free: 6.164 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 (12): * Single equations (assignments): 12 * 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.0001083/0.1342, allocations: 133.8 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.1342, allocations: 11.91 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.1343, allocations: 21.41 kB / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1343, allocations: 0 / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1343, allocations: 3.938 kB / 0.4933 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1343, allocations: 3.984 kB / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.1348, allocations: 435.3 kB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1349, allocations: 8.016 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.1349, allocations: 11.94 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.1349, allocations: 7.938 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1349, allocations: 4 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.135, allocations: 0 / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.135, allocations: 4 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.1352, allocations: 224.2 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.1353, allocations: 93 kB / 0.494 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1353, allocations: 8 kB / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1354, allocations: 3.984 kB / 0.4941 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.1355, allocations: 4 kB / 0.4941 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1355, allocations: 7.984 kB / 0.4941 GB, free: 5.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.1356, allocations: 136.9 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1356, allocations: 3.938 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1359, allocations: 31.94 kB / 0.4942 GB, free: 4.918 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 (10): * Single equations (assignments): 8 * 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.002073/0.138, allocations: 1.116 MB / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1382, allocations: 83.84 kB / 0.4954 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1382, allocations: 0 / 0.4954 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.1383, allocations: 35.98 kB / 0.4954 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1387, allocations: 27.92 kB / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.1406, allocations: 1.739 MB / 0.4972 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.141, allocations: 0.7084 MB / 0.4979 GB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.1411, allocations: 25.06 kB / 0.4979 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.1411, allocations: 35.42 kB / 0.4979 GB, free: 1.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1412, allocations: 4 kB / 0.4979 GB, free: 1.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.1676, allocations: 3.635 MB / 0.5015 GB, free: 13.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.769, allocations: 11.98 kB / 0.5015 GB, free: 13.38 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches