Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.001659/0.00166, allocations: 102.8 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.0018/0.0018, allocations: 189 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.489/1.489, 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.2226/0.2226, allocations: 43.52 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.001957/0.001957, allocations: 69.47 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1179, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003669/0.1216, allocations: 1.848 MB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1233, allocations: 0.8936 MB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1235, allocations: 7.938 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.124, allocations: 163.5 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.1243, allocations: 139.5 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.1248, allocations: 143.7 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.1251, allocations: 215.3 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1253, allocations: 21.55 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1254, allocations: 103.6 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1256, allocations: 123.6 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.1256, allocations: 8 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1257, allocations: 43.98 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.444e-05/0.1258, allocations: 51.77 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.489e-05/0.1259, allocations: 75.42 kB / 0.4912 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.1262, allocations: 195.1 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1262, allocations: 0 / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1263, allocations: 4 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1263, allocations: 0 / 0.4914 GB, free: 8.18 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.0007742/0.1271, allocations: 0.5174 MB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1271, allocations: 11.89 kB / 0.4919 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.1272, allocations: 42.73 kB / 0.4919 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.1272, allocations: 28.75 kB / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.1277, allocations: 263.8 kB / 0.4922 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1277, allocations: 4.375 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.1277, allocations: 15.94 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.128, allocations: 107.2 kB / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.128, allocations: 0 / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.128, allocations: 4 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.128, allocations: 0 / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1282, allocations: 35.97 kB / 0.4924 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.1288, allocations: 444.9 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.1291, allocations: 109.3 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.753e-05/0.1292, allocations: 45.7 kB / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1292, allocations: 7.984 kB / 0.493 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.1294, allocations: 105.1 kB / 0.4931 GB, free: 6.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.1295, allocations: 4 kB / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008931/0.1304, allocations: 369 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.1304, allocations: 81.05 kB / 0.4935 GB, free: 5.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.1309, allocations: 359 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1309, allocations: 29.7 kB / 0.4939 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.131, allocations: 140.4 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.1311, allocations: 59.52 kB / 0.4941 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.1311, allocations: 29.72 kB / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1313, allocations: 342.8 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1314, allocations: 39.98 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1316, allocations: 79.28 kB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.1318, allocations: 115.5 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1318, allocations: 8 kB / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003262/0.1322, allocations: 177.4 kB / 0.4948 GB, free: 4.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1322, allocations: 8 kB / 0.4948 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1322, allocations: 0 / 0.4948 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1322, allocations: 7.938 kB / 0.4948 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1324, allocations: 39.86 kB / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1324, allocations: 4 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.1325, allocations: 7.984 kB / 0.4949 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1325, allocations: 12.06 kB / 0.4949 GB, free: 4.289 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.0001495/0.1326, allocations: 149.8 kB / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.1327, allocations: 23.86 kB / 0.4951 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.496e-05/0.1328, allocations: 29.73 kB / 0.4951 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1328, allocations: 3.938 kB / 0.4951 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.1328, allocations: 7.984 kB / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1328, allocations: 0 / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007806/0.1336, allocations: 0.6125 MB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1336, allocations: 4 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.1337, allocations: 23.92 kB / 0.4957 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1337, allocations: 4 kB / 0.4957 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1337, allocations: 4 kB / 0.4957 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1337, allocations: 0 / 0.4957 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1337, allocations: 0 / 0.4957 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.1341, allocations: 368.5 kB / 0.4961 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.1342, allocations: 100.9 kB / 0.4962 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.1343, allocations: 4 kB / 0.4962 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.1344, allocations: 8.359 kB / 0.4962 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.1344, allocations: 19.97 kB / 0.4962 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1345, allocations: 12 kB / 0.4962 GB, free: 2.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002832/0.1348, allocations: 261.9 kB / 0.4965 GB, free: 2.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1348, allocations: 4 kB / 0.4965 GB, free: 2.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000333/0.1351, allocations: 35.98 kB / 0.4965 GB, free: 2.523 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.002401/0.1375, allocations: 1.266 MB / 0.4977 GB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.1378, allocations: 115.9 kB / 0.4979 GB, free: 1.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1378, allocations: 3.938 kB / 0.4979 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.138, allocations: 63.91 kB / 0.4979 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.1385, allocations: 44.86 kB / 0.498 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.1414, allocations: 2.458 MB / 0.5004 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1418, allocations: 0.7476 MB / 0.5011 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.465e-05/0.1419, allocations: 41.91 kB / 0.5011 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.1421, allocations: 79.34 kB / 0.5012 GB, free: 13.59 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1421, allocations: 0 / 0.5012 GB, free: 13.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.1675, allocations: 5.404 MB / 0.5065 GB, free: 8.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/7.984, allocations: 8 kB / 0.5065 GB, free: 8.148 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches