Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.00134/0.001339, allocations: 105.6 kB / 16.41 MB, free: 6.5 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.001398/0.001398, allocations: 188.1 kB / 17.34 MB, free: 5.758 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.44/1.44, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2153/0.2153, allocations: 43.53 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.002173/0.002173, allocations: 67.89 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.123, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004823/0.1278, allocations: 1.782 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.1303, allocations: 0.8818 MB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1304, allocations: 7.938 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008383/0.1313, allocations: 303.4 kB / 0.4904 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006446/0.132, allocations: 215.3 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.1326, allocations: 139.7 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.133, allocations: 239.4 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.546e-05/0.133, allocations: 17.52 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.1333, allocations: 131.5 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.1335, allocations: 191.5 kB / 0.4913 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.1336, allocations: 12 kB / 0.4913 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1337, allocations: 36 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1339, allocations: 143.5 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.134, allocations: 150.8 kB / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1345, allocations: 370.2 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1345, allocations: 0 / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1345, allocations: 0 / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1345, allocations: 0 / 0.4919 GB, free: 7.641 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.0009853/0.1355, allocations: 0.7384 MB / 0.4927 GB, free: 6.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1355, allocations: 19.89 kB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.1356, allocations: 38.69 kB / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.1357, allocations: 48.61 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.1363, allocations: 456.3 kB / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1363, allocations: 4.375 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1363, allocations: 3.938 kB / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.1366, allocations: 95.28 kB / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1366, allocations: 4 kB / 0.4933 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1366, allocations: 4 kB / 0.4933 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1366, allocations: 0 / 0.4933 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1367, allocations: 31.97 kB / 0.4933 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.1371, allocations: 370.4 kB / 0.4937 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.1374, allocations: 117.1 kB / 0.4938 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.1375, allocations: 37.7 kB / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.1375, allocations: 0 / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.1378, allocations: 116.9 kB / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1378, allocations: 0 / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005025/0.1383, allocations: 197.2 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.1384, allocations: 77.11 kB / 0.4942 GB, free: 5.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.1395, allocations: 1.042 MB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1395, allocations: 25.7 kB / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1397, allocations: 232.1 kB / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.1398, allocations: 35.78 kB / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.1399, allocations: 29.7 kB / 0.4955 GB, free: 3.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1401, allocations: 362.8 kB / 0.4959 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.1401, allocations: 27.98 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1403, allocations: 59.41 kB / 0.496 GB, free: 3.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1405, allocations: 95.86 kB / 0.4961 GB, free: 3.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1405, allocations: 3.938 kB / 0.4961 GB, free: 3.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003049/0.1408, allocations: 173.2 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1408, allocations: 8 kB / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1408, allocations: 0 / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1409, allocations: 0 / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.141, allocations: 27.98 kB / 0.4963 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.141, allocations: 4 kB / 0.4963 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/0.1411, allocations: 8 kB / 0.4963 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1411, allocations: 4 kB / 0.4963 GB, free: 2.898 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.0002279/0.1414, allocations: 237.6 kB / 0.4965 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.1414, allocations: 51.67 kB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.07e-05/0.1415, allocations: 56 kB / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1415, allocations: 4 kB / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1415, allocations: 0 / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1415, allocations: 4 kB / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.1419, allocations: 349.3 kB / 0.4969 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1419, allocations: 0 / 0.4969 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.1419, allocations: 8 kB / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1419, allocations: 0 / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.142, allocations: 3.984 kB / 0.497 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.142, allocations: 4 kB / 0.497 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.142, allocations: 0 / 0.497 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.1423, allocations: 213.4 kB / 0.4972 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.1425, allocations: 136.8 kB / 0.4973 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.1425, allocations: 8.125 kB / 0.4973 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.1426, allocations: 3.984 kB / 0.4973 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.1426, allocations: 11.98 kB / 0.4973 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1427, allocations: 8 kB / 0.4973 GB, free: 1.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008336/0.1435, allocations: 0.7682 MB / 0.4981 GB, free: 0.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1435, allocations: 3.938 kB / 0.4981 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1438, allocations: 44 kB / 0.4981 GB, free: 0.9102 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.002133/0.1459, allocations: 1.054 MB / 0.4991 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.1462, allocations: 84.03 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1462, allocations: 0 / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.1463, allocations: 48.05 kB / 0.4993 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.1468, allocations: 62.2 kB / 0.4993 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.1523, allocations: 4.52 MB / 0.5037 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.1528, allocations: 0.8465 MB / 0.5046 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.153, allocations: 58.94 kB / 0.5046 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.1532, allocations: 143.4 kB / 0.5048 GB, free: 9.98 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1532, allocations: 0 / 0.5048 GB, free: 9.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.1855, allocations: 8.939 MB / 0.5135 GB, free: 1.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.716, allocations: 8.062 kB / 0.5135 GB, free: 1 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_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_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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