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.00148/0.00148, allocations: 109.7 kB / 16.41 MB, free: 6.445 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.002084/0.002084, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.502/1.502, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2152/0.2152, allocations: 43.52 MB / 314.1 MB, free: 460 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.002248/0.002248, allocations: 67.91 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1214, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00371/0.1251, allocations: 1.786 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1269, allocations: 0.8779 MB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.127, allocations: 3.938 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005997/0.1276, allocations: 303.3 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.1281, allocations: 203.4 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.1286, allocations: 139.7 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.129, allocations: 243.4 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.665e-05/0.129, allocations: 13.55 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1293, allocations: 131.5 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.1295, allocations: 192 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.1296, allocations: 8 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1297, allocations: 39.98 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.1299, allocations: 128.5 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.13, allocations: 142.8 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.1305, allocations: 370.2 kB / 0.4919 GB, free: 7.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1305, allocations: 0 / 0.4919 GB, free: 7.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1305, allocations: 0 / 0.4919 GB, free: 7.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.1306, allocations: 4 kB / 0.4919 GB, free: 7.66 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.001224/0.1318, allocations: 0.7379 MB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.1318, allocations: 11.89 kB / 0.4926 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.1319, allocations: 38.75 kB / 0.4927 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.132, allocations: 52.59 kB / 0.4927 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.1327, allocations: 448.4 kB / 0.4931 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1328, allocations: 384 / 0.4931 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1328, allocations: 11.94 kB / 0.4932 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.133, allocations: 91.3 kB / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.133, allocations: 0 / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1331, allocations: 4 kB / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1331, allocations: 4 kB / 0.4933 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1332, allocations: 27.97 kB / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.1337, allocations: 370.4 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.134, allocations: 113.1 kB / 0.4937 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1341, allocations: 37.7 kB / 0.4938 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1341, allocations: 3.984 kB / 0.4938 GB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.1344, allocations: 109 kB / 0.4939 GB, free: 5.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/0.1344, allocations: 0 / 0.4939 GB, free: 5.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005489/0.1349, allocations: 201.2 kB / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.135, allocations: 77.11 kB / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.1362, allocations: 1.011 MB / 0.4951 GB, free: 4.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1362, allocations: 25.7 kB / 0.4952 GB, free: 4.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1364, allocations: 232.1 kB / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.1365, allocations: 27.75 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.1366, allocations: 29.7 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1368, allocations: 370.8 kB / 0.4958 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.1369, allocations: 23.98 kB / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.137, allocations: 59.36 kB / 0.4959 GB, free: 3.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.1372, allocations: 91.84 kB / 0.496 GB, free: 3.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1372, allocations: 3.938 kB / 0.496 GB, free: 3.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003261/0.1375, allocations: 173.2 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1375, allocations: 12.06 kB / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.1376, allocations: 3.984 kB / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1376, allocations: 0 / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1377, allocations: 24 kB / 0.4962 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1377, allocations: 0 / 0.4962 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1378, allocations: 11.94 kB / 0.4962 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1379, allocations: 4 kB / 0.4962 GB, free: 2.977 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.0002539/0.1381, allocations: 233.6 kB / 0.4964 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.1382, allocations: 47.67 kB / 0.4964 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.684e-05/0.1383, allocations: 59.84 kB / 0.4965 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.1383, allocations: 7.984 kB / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1383, allocations: 0 / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1383, allocations: 0 / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.1387, allocations: 341.3 kB / 0.4968 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1387, allocations: 4 kB / 0.4968 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.1388, allocations: 7.984 kB / 0.4968 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1388, allocations: 4 kB / 0.4969 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1388, allocations: 0 / 0.4969 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1388, allocations: 0 / 0.4969 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1388, allocations: 4 kB / 0.4969 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.1392, allocations: 201.5 kB / 0.497 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.1393, allocations: 136.8 kB / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.1394, allocations: 11.98 kB / 0.4972 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.1395, allocations: 4 kB / 0.4972 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.1396, allocations: 15.92 kB / 0.4972 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.1396, allocations: 12.12 kB / 0.4972 GB, free: 1.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009123/0.1405, allocations: 0.7448 MB / 0.4979 GB, free: 1.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1405, allocations: 0 / 0.4979 GB, free: 1.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1408, allocations: 40 kB / 0.498 GB, free: 1.027 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.002178/0.143, allocations: 1.052 MB / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1433, allocations: 75.89 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1433, allocations: 0 / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1434, allocations: 44.3 kB / 0.4991 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.1439, allocations: 78.2 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/0.1496, allocations: 4.412 MB / 0.5035 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.1502, allocations: 0.8387 MB / 0.5043 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.1503, allocations: 58.94 kB / 0.5044 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.1505, allocations: 147.4 kB / 0.5045 GB, free: 10.2 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1505, allocations: 0 / 0.5045 GB, free: 10.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.1851, allocations: 8.776 MB / 0.5131 GB, free: 1.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/8.611, allocations: 0 / 0.5131 GB, free: 1.398 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