Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",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.001329/0.001329, allocations: 108.1 kB / 16.41 MB, free: 6.406 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.001337/0.001337, allocations: 190.9 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.447/1.447, 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.2365/0.2365, allocations: 43.52 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.002444/0.002444, allocations: 73.47 kB / 441.4 MB, free: 6.055 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1204, allocations: 57.79 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003303/0.1237, allocations: 1.697 MB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1251, allocations: 0.8036 MB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.1252, allocations: 0 / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.1256, allocations: 107.7 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.1259, allocations: 87.64 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1262, allocations: 91.75 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.1264, allocations: 115.7 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1265, allocations: 16.22 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1266, allocations: 59.75 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1268, allocations: 59.81 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1268, allocations: 4 kB / 0.4904 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1269, allocations: 47.92 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.127, allocations: 39.84 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.459e-05/0.1271, allocations: 43.67 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.1273, allocations: 127.4 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1273, allocations: 0 / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1273, allocations: 0 / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1273, allocations: 4 kB / 0.4907 GB, free: 8.883 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006453/0.128, allocations: 442.6 kB / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.128, allocations: 11.89 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.1281, allocations: 38.67 kB / 0.4912 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.1281, allocations: 16.84 kB / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1285, allocations: 227.9 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.1285, allocations: 384 / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.1285, allocations: 15.89 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1287, allocations: 69.59 kB / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1287, allocations: 0 / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1287, allocations: 0 / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1288, allocations: 0 / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.218e-05/0.1288, allocations: 31.92 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.1293, allocations: 300.8 kB / 0.4918 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.1295, allocations: 74.67 kB / 0.4919 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.725e-05/0.1296, allocations: 24.84 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1296, allocations: 0 / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.1298, allocations: 75.31 kB / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.1298, allocations: 0 / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006608/0.1304, allocations: 213.4 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.1305, allocations: 59.41 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.1308, allocations: 242.8 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.1308, allocations: 33.69 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.1309, allocations: 104.1 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.1309, allocations: 35.8 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.131, allocations: 29.7 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1312, allocations: 326.8 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.1312, allocations: 27.98 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.1313, allocations: 45.7 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1315, allocations: 65.64 kB / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1315, allocations: 0 / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002091/0.1317, allocations: 117.5 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1317, allocations: 4 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1317, allocations: 4 kB / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1318, allocations: 4.031 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.1319, allocations: 23.92 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1319, allocations: 0 / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.1319, allocations: 7.875 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.132, allocations: 8 kB / 0.4932 GB, free: 6.004 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 (11): * Single equations (assignments): 11 * 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.0001155/0.1321, allocations: 137.8 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.1321, allocations: 19.89 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.1322, allocations: 13.41 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1322, allocations: 4 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1322, allocations: 4 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1322, allocations: 4.125 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.1327, allocations: 419.3 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1328, allocations: 3.938 kB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.1328, allocations: 12 kB / 0.4938 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1328, allocations: 3.938 kB / 0.4938 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1328, allocations: 3.984 kB / 0.4938 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1328, allocations: 4 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1328, allocations: 7.969 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.1331, allocations: 212.3 kB / 0.4941 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.1332, allocations: 89.02 kB / 0.4941 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1333, allocations: 7.875 kB / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.1333, allocations: 7.984 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.1334, allocations: 8 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1334, allocations: 11.98 kB / 0.4942 GB, free: 4.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.1336, allocations: 188.2 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1336, allocations: 0 / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1339, allocations: 23.94 kB / 0.4944 GB, free: 4.734 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 (9): * Single equations (assignments): 7 * 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.002246/0.1361, allocations: 1.124 MB / 0.4955 GB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1364, allocations: 67.91 kB / 0.4955 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1364, allocations: 0 / 0.4955 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.211e-05/0.1365, allocations: 36 kB / 0.4956 GB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1368, allocations: 31.56 kB / 0.4956 GB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.139, allocations: 1.826 MB / 0.4974 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.1394, allocations: 0.7158 MB / 0.4981 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.082e-05/0.1395, allocations: 20.78 kB / 0.4981 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.1396, allocations: 43.42 kB / 0.4982 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1396, allocations: 0 / 0.4982 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.1667, allocations: 3.781 MB / 0.5018 GB, free: 12.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.123, allocations: 7.906 kB / 0.5019 GB, free: 12.96 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches