Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",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.001574/0.001574, allocations: 110.2 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.001631/0.001631, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.385/1.385, 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.2294/0.2293, allocations: 43.53 MB / 314.1 MB, free: 468 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.001447/0.001447, allocations: 83.89 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1229, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003561/0.1265, allocations: 1.7 MB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.1288, allocations: 1.399 MB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.129, allocations: 3.938 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.1294, allocations: 39.77 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.1298, allocations: 71.67 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1301, allocations: 83.78 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1303, allocations: 99.73 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1305, allocations: 8.219 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1306, allocations: 43.78 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1307, allocations: 43.78 kB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.1308, allocations: 7.938 kB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1309, allocations: 59.97 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.131, allocations: 15.97 kB / 0.491 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.1311, allocations: 35.81 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.1314, allocations: 123.5 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.1314, allocations: 0 / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1314, allocations: 0 / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1314, allocations: 0 / 0.4911 GB, free: 8.496 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.000611/0.132, allocations: 406.8 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1321, allocations: 11.89 kB / 0.4915 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.1321, allocations: 38.73 kB / 0.4915 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1322, allocations: 12.83 kB / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.1325, allocations: 211.7 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1325, allocations: 384 / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.1326, allocations: 7.938 kB / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.1328, allocations: 71.33 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1328, allocations: 0 / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1328, allocations: 4 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1328, allocations: 0 / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.1329, allocations: 19.98 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.1333, allocations: 288.8 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1335, allocations: 58.61 kB / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.1335, allocations: 24.8 kB / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1336, allocations: 0 / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.1337, allocations: 67.39 kB / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1338, allocations: 0 / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005961/0.1344, allocations: 169.4 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.1344, allocations: 81.11 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.1346, allocations: 153.7 kB / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1346, allocations: 29.7 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.1347, allocations: 96.14 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.1347, allocations: 35.77 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.1348, allocations: 17.72 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1349, allocations: 322.8 kB / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.135, allocations: 23.98 kB / 0.4932 GB, free: 6.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.871e-05/0.135, allocations: 42.5 kB / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1352, allocations: 65.8 kB / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1352, allocations: 0 / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001947/0.1354, allocations: 97.95 kB / 0.4934 GB, free: 5.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1354, allocations: 4 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1354, allocations: 4 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1354, allocations: 0 / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.1355, allocations: 19.98 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1355, allocations: 0 / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.375e-05/0.1356, allocations: 7.938 kB / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1356, allocations: 11.97 kB / 0.4934 GB, free: 5.883 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.0001114/0.1357, allocations: 137.3 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.1358, allocations: 7.953 kB / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.1358, allocations: 12.72 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1358, allocations: 4 kB / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1358, allocations: 0 / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1358, allocations: 3.938 kB / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.1363, allocations: 399.3 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1363, allocations: 0 / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.1364, allocations: 8 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1364, allocations: 3.938 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1364, allocations: 4 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1364, allocations: 0 / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1364, allocations: 192 / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.1367, allocations: 208.3 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.1367, allocations: 85 kB / 0.4942 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.1368, allocations: 7.938 kB / 0.4942 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.1368, allocations: 0 / 0.4942 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.1369, allocations: 11.98 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1369, allocations: 4 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.137, allocations: 118.7 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.137, allocations: 4 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1373, allocations: 27.94 kB / 0.4944 GB, free: 4.754 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.001644/0.139, allocations: 1.135 MB / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1392, allocations: 59.97 kB / 0.4956 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1392, allocations: 0 / 0.4956 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.1393, allocations: 31.92 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1396, allocations: 31.38 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.1413, allocations: 1.558 MB / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1416, allocations: 0.6924 MB / 0.4978 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.106e-05/0.1417, allocations: 25.31 kB / 0.4979 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.1418, allocations: 43.34 kB / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1418, allocations: 0 / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.1662, allocations: 3.531 MB / 0.5013 GB, free: 13.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/7.535, allocations: 7.844 kB / 0.5014 GB, free: 13.46 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_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_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches