Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",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.001557/0.001557, allocations: 105.4 kB / 16.41 MB, free: 6.441 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.001885/0.001885, allocations: 189 kB / 17.34 MB, free: 5.711 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.598/1.598, 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.263/0.263, allocations: 43.53 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.001618/0.001618, allocations: 81.45 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1245, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00401/0.1285, allocations: 1.782 MB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1304, allocations: 0.8816 MB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1305, allocations: 7.938 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.1312, allocations: 295.3 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.1316, allocations: 211.4 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.132, allocations: 139.6 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.1323, allocations: 235.4 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.1324, allocations: 17.53 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.1326, allocations: 139.5 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1328, allocations: 192 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.1328, allocations: 8 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.133, allocations: 43.92 kB / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.1331, allocations: 120.6 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.1332, allocations: 146.8 kB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.1337, allocations: 362.3 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1337, allocations: 0 / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1337, allocations: 3.938 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1337, allocations: 0 / 0.4919 GB, free: 7.648 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.00098/0.1347, allocations: 0.7384 MB / 0.4926 GB, free: 6.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.1348, allocations: 15.89 kB / 0.4926 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.1348, allocations: 30.75 kB / 0.4927 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.768e-05/0.1349, allocations: 56.59 kB / 0.4927 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.1355, allocations: 448.4 kB / 0.4931 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1355, allocations: 4.375 kB / 0.4932 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1356, allocations: 11.88 kB / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1358, allocations: 95.34 kB / 0.4933 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1358, allocations: 0 / 0.4933 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1358, allocations: 0 / 0.4933 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1358, allocations: 4 kB / 0.4933 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1359, allocations: 31.97 kB / 0.4933 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.1363, allocations: 370.3 kB / 0.4936 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1366, allocations: 109.2 kB / 0.4937 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.1367, allocations: 37.7 kB / 0.4938 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1367, allocations: 0 / 0.4938 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.1369, allocations: 109 kB / 0.4939 GB, free: 5.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1369, allocations: 0 / 0.4939 GB, free: 5.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004612/0.1374, allocations: 201.2 kB / 0.4941 GB, free: 5.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.1374, allocations: 77.11 kB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.1385, allocations: 1.007 MB / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1385, allocations: 25.7 kB / 0.4952 GB, free: 4.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.1387, allocations: 236.1 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.1387, allocations: 35.73 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.1388, allocations: 25.7 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.139, allocations: 370.8 kB / 0.4958 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.1391, allocations: 23.98 kB / 0.4958 GB, free: 3.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.1392, allocations: 59.3 kB / 0.4959 GB, free: 3.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.1394, allocations: 95.84 kB / 0.496 GB, free: 3.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.1394, allocations: 3.938 kB / 0.496 GB, free: 3.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000299/0.1397, allocations: 173.2 kB / 0.4961 GB, free: 3.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1397, allocations: 11.98 kB / 0.4961 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1397, allocations: 64 / 0.4961 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1398, allocations: 4 kB / 0.4962 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1399, allocations: 20 kB / 0.4962 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1399, allocations: 7.922 kB / 0.4962 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-05/0.14, allocations: 7.953 kB / 0.4962 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.14, allocations: 4 kB / 0.4962 GB, free: 2.953 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002174/0.1402, allocations: 233.6 kB / 0.4964 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.1403, allocations: 47.67 kB / 0.4965 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.619e-05/0.1404, allocations: 55.84 kB / 0.4965 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1404, allocations: 8 kB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1404, allocations: 0 / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1404, allocations: 0 / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.1407, allocations: 337.3 kB / 0.4968 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1407, allocations: 4 kB / 0.4968 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.1408, allocations: 7.984 kB / 0.4969 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1408, allocations: 4 kB / 0.4969 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1408, allocations: 3.938 kB / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1408, allocations: 0 / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1408, allocations: 4 kB / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.1412, allocations: 209.5 kB / 0.4971 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.1414, allocations: 132.8 kB / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.1414, allocations: 7.984 kB / 0.4972 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.1415, allocations: 4 kB / 0.4972 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.1416, allocations: 11.98 kB / 0.4972 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.1416, allocations: 4 kB / 0.4972 GB, free: 1.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007771/0.1424, allocations: 0.7526 MB / 0.4979 GB, free: 1.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1424, allocations: 0 / 0.4979 GB, free: 1.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1427, allocations: 40 kB / 0.498 GB, free: 1.012 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001546/0.1442, allocations: 1.063 MB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.1445, allocations: 79.89 kB / 0.4991 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1445, allocations: 0 / 0.4991 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.1446, allocations: 39.92 kB / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.1451, allocations: 70.7 kB / 0.4992 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.1507, allocations: 4.419 MB / 0.5035 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.1512, allocations: 0.831 MB / 0.5043 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.1513, allocations: 54.94 kB / 0.5044 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.1515, allocations: 151.4 kB / 0.5045 GB, free: 10.18 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1516, allocations: 0 / 0.5045 GB, free: 10.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.1817, allocations: 8.777 MB / 0.5131 GB, free: 1.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/8.47, allocations: 7.844 kB / 0.5131 GB, free: 1.375 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5078]=8000.000000 File[567]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime