Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",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.001124/0.001124, allocations: 102.9 kB / 16.4 MB, free: 6.508 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.001324/0.001324, allocations: 192.2 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.387/1.387, 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.2294/0.2294, 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.001617/0.001617, allocations: 69.94 kB / 441.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1375, allocations: 57.8 MB / 499.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003783/0.1413, allocations: 1.692 MB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.1443, allocations: 1.414 MB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.1445, allocations: 0 / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.145, allocations: 47.77 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.1454, allocations: 67.64 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.1458, allocations: 83.75 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.146, allocations: 95.75 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1462, allocations: 8.219 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1463, allocations: 43.78 kB / 0.4908 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1465, allocations: 43.83 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.1465, allocations: 4 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1467, allocations: 67.91 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.1468, allocations: 11.94 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.591e-05/0.1469, allocations: 39.78 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.1472, allocations: 119.5 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1472, allocations: 0 / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1472, allocations: 0 / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1472, allocations: 0 / 0.4911 GB, free: 8.438 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006233/0.1478, allocations: 406.8 kB / 0.4915 GB, free: 7.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1479, allocations: 11.89 kB / 0.4915 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.1479, allocations: 38.75 kB / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.148, allocations: 12.88 kB / 0.4916 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.1484, allocations: 204.1 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.1484, allocations: 4.375 kB / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.1485, allocations: 7.922 kB / 0.4918 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.1487, allocations: 67.39 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.1487, allocations: 4 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1488, allocations: 0 / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1488, allocations: 4 kB / 0.4918 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.82e-05/0.1489, allocations: 19.98 kB / 0.4919 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.1494, allocations: 296.7 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1496, allocations: 50.69 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.249e-05/0.1496, allocations: 24.84 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.1497, allocations: 0 / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.1499, allocations: 71.33 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.315e-06/0.1499, allocations: 4 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006358/0.1505, allocations: 165.4 kB / 0.4925 GB, free: 6.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.1506, allocations: 81.11 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.1508, allocations: 157.7 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1508, allocations: 33.7 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.1509, allocations: 92.14 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.1509, allocations: 27.78 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.151, allocations: 17.72 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1511, allocations: 326.8 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.1512, allocations: 23.98 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.1512, allocations: 38.56 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1514, allocations: 65.67 kB / 0.4933 GB, free: 5.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1514, allocations: 0 / 0.4933 GB, free: 5.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002051/0.1516, allocations: 97.62 kB / 0.4934 GB, free: 5.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1516, allocations: 8 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1516, allocations: 0 / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1516, allocations: 0 / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.1517, allocations: 19.92 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1518, allocations: 8.031 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.1518, allocations: 3.938 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1518, allocations: 8 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000117/0.152, allocations: 125.7 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.152, allocations: 15.94 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.1521, allocations: 12.72 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1521, allocations: 0 / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1521, allocations: 0 / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1521, allocations: 3.938 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.1526, allocations: 399.3 kB / 0.4939 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1526, allocations: 0 / 0.4939 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.1526, allocations: 8 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.1527, allocations: 3.938 kB / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1527, allocations: 7.938 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.1527, allocations: 0 / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1527, allocations: 0 / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1529, allocations: 204.4 kB / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.153, allocations: 85.06 kB / 0.4942 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.153, allocations: 4.312 kB / 0.4942 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.1531, allocations: 8 kB / 0.4943 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.1532, allocations: 7.984 kB / 0.4943 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.1532, allocations: 4 kB / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.1533, allocations: 123.4 kB / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1533, allocations: 4 kB / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1536, allocations: 27.94 kB / 0.4944 GB, free: 4.695 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001712/0.1553, allocations: 1.133 MB / 0.4955 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.1555, allocations: 59.91 kB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1556, allocations: 4.062 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.1556, allocations: 27.94 kB / 0.4956 GB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.156, allocations: 35.84 kB / 0.4956 GB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1579, allocations: 1.551 MB / 0.4972 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1582, allocations: 0.6963 MB / 0.4978 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.291e-05/0.1583, allocations: 28.78 kB / 0.4979 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.1584, allocations: 31.42 kB / 0.4979 GB, free: 1.031 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1584, allocations: 3.938 kB / 0.4979 GB, free: 1.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.1803, allocations: 3.538 MB / 0.5014 GB, free: 13.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.443, allocations: 11.97 kB / 0.5014 GB, free: 13.41 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches