Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.001337/0.001337, allocations: 106 kB / 16.4 MB, free: 6.461 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.001237/0.001237, 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.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2223/0.2223, allocations: 43.53 MB / 314.1 MB, free: 464 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.001955/0.001955, allocations: 77.45 kB / 441.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1209, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003479/0.1245, allocations: 1.786 MB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1261, allocations: 0.8701 MB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.1262, allocations: 7.938 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.1268, allocations: 299.4 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.1272, allocations: 211.3 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.1276, allocations: 135.7 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.1279, allocations: 239.4 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.128, allocations: 25.47 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.1282, allocations: 127.5 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.1284, allocations: 188 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.1285, allocations: 4 kB / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1286, allocations: 39.98 kB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.1288, allocations: 136.5 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.1289, allocations: 138.8 kB / 0.4915 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.1294, allocations: 366.2 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1294, allocations: 0 / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1294, allocations: 0 / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1294, allocations: 4 kB / 0.4919 GB, free: 7.656 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.0009808/0.1304, allocations: 0.7345 MB / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1305, allocations: 11.89 kB / 0.4926 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.1305, allocations: 34.75 kB / 0.4927 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.1306, allocations: 52.61 kB / 0.4927 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006624/0.1313, allocations: 448.3 kB / 0.4931 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1313, allocations: 4.375 kB / 0.4931 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1313, allocations: 7.938 kB / 0.4931 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.1316, allocations: 91.36 kB / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1316, allocations: 3.938 kB / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1316, allocations: 0 / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1316, allocations: 0 / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1317, allocations: 31.97 kB / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1321, allocations: 366.4 kB / 0.4936 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.1324, allocations: 109.1 kB / 0.4937 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/0.1325, allocations: 41.69 kB / 0.4938 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1326, allocations: 11.98 kB / 0.4938 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.1328, allocations: 105 kB / 0.4939 GB, free: 5.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.1328, allocations: 0 / 0.4939 GB, free: 5.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004944/0.1333, allocations: 201.7 kB / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.1334, allocations: 81.11 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.1345, allocations: 1.011 MB / 0.4951 GB, free: 4.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1345, allocations: 25.7 kB / 0.4952 GB, free: 4.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1347, allocations: 224.1 kB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.1347, allocations: 35.72 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.1348, allocations: 33.7 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.135, allocations: 366.7 kB / 0.4958 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.1351, allocations: 32.05 kB / 0.4958 GB, free: 3.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1352, allocations: 59.42 kB / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.1354, allocations: 87.34 kB / 0.496 GB, free: 3.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.1354, allocations: 7.938 kB / 0.496 GB, free: 3.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003043/0.1358, allocations: 165.2 kB / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1358, allocations: 12 kB / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1358, allocations: 0 / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1358, allocations: 4 kB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1359, allocations: 19.98 kB / 0.4962 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1359, allocations: 4 kB / 0.4962 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.048e-05/0.136, allocations: 15.94 kB / 0.4962 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1361, allocations: 4 kB / 0.4962 GB, free: 2.969 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.0002309/0.1363, allocations: 225.6 kB / 0.4964 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.1364, allocations: 55.66 kB / 0.4964 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-05/0.1365, allocations: 55.86 kB / 0.4965 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1365, allocations: 3.984 kB / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1365, allocations: 4 kB / 0.4965 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1365, allocations: 0 / 0.4965 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.1369, allocations: 333.5 kB / 0.4968 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.284e-05/0.137, allocations: 4 kB / 0.4968 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.137, allocations: 12 kB / 0.4968 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.137, allocations: 0 / 0.4968 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.137, allocations: 7.984 kB / 0.4968 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.137, allocations: 0 / 0.4968 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.137, allocations: 4 kB / 0.4969 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.1374, allocations: 201.5 kB / 0.497 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.1375, allocations: 136.8 kB / 0.4972 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.1376, allocations: 4 kB / 0.4972 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.1377, allocations: 7.984 kB / 0.4972 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.1377, allocations: 7.984 kB / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1378, allocations: 12 kB / 0.4972 GB, free: 1.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008361/0.1386, allocations: 0.7487 MB / 0.4979 GB, free: 1.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1386, allocations: 0 / 0.4979 GB, free: 1.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1389, allocations: 40 kB / 0.498 GB, free: 1.031 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.002126/0.141, allocations: 1.065 MB / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.1414, allocations: 79.91 kB / 0.4991 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1414, allocations: 0 / 0.4991 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1415, allocations: 47.91 kB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1419, allocations: 66.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.005401/0.1473, 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.0004946/0.1478, allocations: 0.8349 MB / 0.5043 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.148, allocations: 63.44 kB / 0.5044 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.1482, allocations: 139.4 kB / 0.5045 GB, free: 10.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1482, allocations: 0 / 0.5045 GB, free: 10.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.1818, allocations: 8.78 MB / 0.5131 GB, free: 1.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.561/8.743, allocations: 11.91 kB / 0.5131 GB, free: 1.395 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_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_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5115]=8000.000000 File[555]=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