Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.001855/0.001855, allocations: 110.9 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.001377/0.001377, allocations: 189.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.568/1.568, 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.2486/0.2486, allocations: 43.52 MB / 314.1 MB, free: 472 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.001389/0.001389, allocations: 71.89 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1279, allocations: 57.8 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003345/0.1312, allocations: 1.697 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.1337, allocations: 1.406 MB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1338, allocations: 0 / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1342, allocations: 35.78 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.1345, allocations: 71.62 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.1348, allocations: 87.77 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.135, allocations: 95.75 kB / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1352, allocations: 12.2 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1353, allocations: 47.78 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.1354, allocations: 35.84 kB / 0.4909 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.1355, allocations: 4 kB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.1356, allocations: 67.84 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.1357, allocations: 19.97 kB / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.1358, allocations: 31.81 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.1361, allocations: 123.5 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1361, allocations: 0 / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1361, allocations: 0 / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1361, 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.0005101/0.1366, allocations: 406.8 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1366, allocations: 19.83 kB / 0.4915 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.1367, allocations: 30.75 kB / 0.4915 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.1367, allocations: 8.891 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.137, allocations: 211.6 kB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.137, allocations: 4.375 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1371, allocations: 3.938 kB / 0.4918 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1372, allocations: 67.39 kB / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1372, allocations: 0 / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1373, allocations: 7.984 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.1373, allocations: 0 / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.1373, allocations: 23.92 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.1377, allocations: 292.8 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1379, allocations: 58.67 kB / 0.4922 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.1379, allocations: 20.84 kB / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.138, allocations: 3.938 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.1381, allocations: 71.39 kB / 0.4923 GB, free: 7.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1381, allocations: 0 / 0.4923 GB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004835/0.1386, allocations: 161.8 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1387, allocations: 85.09 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1388, allocations: 153.7 kB / 0.4927 GB, free: 6.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1388, allocations: 25.7 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.1389, allocations: 104.1 kB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.139, allocations: 23.8 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.139, allocations: 29.64 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1391, allocations: 318.8 kB / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/0.1392, allocations: 20 kB / 0.4932 GB, free: 6.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.1393, allocations: 42.56 kB / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1394, allocations: 69.72 kB / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1394, allocations: 0 / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.1396, allocations: 101.6 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1396, allocations: 8 kB / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1396, allocations: 0 / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1397, allocations: 0 / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.1397, allocations: 12 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1398, allocations: 4 kB / 0.4934 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.1398, allocations: 7.922 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1398, allocations: 8.031 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.0001051/0.14, allocations: 129.7 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.14, allocations: 7.953 kB / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.14, allocations: 16.7 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.14, allocations: 0 / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.14, allocations: 0 / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1401, allocations: 7.875 kB / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.1405, allocations: 391.3 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1405, allocations: 0 / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.1406, allocations: 11.94 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1406, allocations: 3.938 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1406, allocations: 7.984 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1406, allocations: 0 / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1406, allocations: 0 / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.1408, allocations: 200.4 kB / 0.4942 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.1409, allocations: 85.06 kB / 0.4942 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1409, allocations: 3.938 kB / 0.4942 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.141, allocations: 7.984 kB / 0.4942 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.141, allocations: 11.94 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1411, allocations: 0 / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.042e-05/0.1411, allocations: 122.7 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1412, allocations: 0 / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1414, allocations: 31.92 kB / 0.4944 GB, free: 4.758 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.001479/0.1429, allocations: 1.134 MB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.1431, allocations: 63.91 kB / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1431, allocations: 0 / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.1432, allocations: 31.92 kB / 0.4956 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1435, allocations: 39.27 kB / 0.4956 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.1452, allocations: 1.559 MB / 0.4972 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1454, allocations: 0.6963 MB / 0.4978 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.061e-05/0.1455, allocations: 24.86 kB / 0.4979 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.1456, allocations: 31.42 kB / 0.4979 GB, free: 1.086 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1456, allocations: 3.938 kB / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.1655, allocations: 3.531 MB / 0.5013 GB, free: 13.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/7.811, allocations: 11.97 kB / 0.5014 GB, free: 13.46 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_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_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches