Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.001384/0.001384, allocations: 108.8 kB / 16.41 MB, free: 6.488 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.002565/0.002566, 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.565/1.565, 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.2247/0.2247, 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.001474/0.001475, allocations: 69.47 kB / 441.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.132, allocations: 57.8 MB / 499.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004384/0.1365, allocations: 1.906 MB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.138, allocations: 0.8351 MB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1382, allocations: 3.938 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.1386, allocations: 51.69 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.139, allocations: 63.64 kB / 0.4903 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.1394, allocations: 107.7 kB / 0.4904 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.1397, allocations: 135.6 kB / 0.4905 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.1398, allocations: 33.45 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.14, allocations: 63.7 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1402, allocations: 47.72 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.1403, allocations: 4 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.1404, allocations: 51.97 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.806e-05/0.1405, allocations: 23.86 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1407, allocations: 55.61 kB / 0.4908 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.1411, allocations: 143.3 kB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1411, allocations: 4 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1411, allocations: 0 / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1411, allocations: 0 / 0.4909 GB, free: 8.715 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00106/0.1422, allocations: 0.4884 MB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001088/0.1423, allocations: 11.89 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.794e-05/0.1424, allocations: 38.75 kB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.16e-05/0.1425, allocations: 12.84 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.1431, allocations: 224.2 kB / 0.4916 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1431, allocations: 4.375 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.1432, allocations: 15.89 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.1435, allocations: 108.2 kB / 0.4918 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1435, allocations: 0 / 0.4918 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.1435, allocations: 4 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1436, allocations: 0 / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.1438, allocations: 55.89 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007757/0.1446, allocations: 0.5049 MB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.145, allocations: 90.59 kB / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.1451, allocations: 32.84 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.1452, allocations: 8 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.1455, allocations: 79.38 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.1455, allocations: 0 / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005152/0.146, allocations: 153.4 kB / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.1461, allocations: 51.41 kB / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.1464, allocations: 195.4 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1464, allocations: 29.69 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1466, allocations: 112.1 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.1466, allocations: 27.75 kB / 0.4931 GB, free: 6.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.258e-05/0.1467, allocations: 29.7 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1469, allocations: 326.8 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.147, allocations: 27.98 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1471, allocations: 64.27 kB / 0.4935 GB, free: 5.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.1474, allocations: 96.2 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1474, allocations: 8 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003248/0.1477, allocations: 129.5 kB / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.1478, allocations: 7.984 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1478, allocations: 3.938 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.1478, allocations: 7.938 kB / 0.4937 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1479, allocations: 23.94 kB / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1479, allocations: 7.984 kB / 0.4938 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.141e-05/0.148, allocations: 20.02 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1481, allocations: 4 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001771/0.1482, allocations: 132.4 kB / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.1483, allocations: 19.89 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.599e-05/0.1484, allocations: 17.88 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.1484, allocations: 7.938 kB / 0.494 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1484, allocations: 0 / 0.494 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1484, allocations: 3.984 kB / 0.494 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.1486, allocations: 205.6 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1487, allocations: 7.938 kB / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.373e-05/0.1488, allocations: 11.98 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1488, allocations: 0 / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1488, allocations: 8 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1488, allocations: 3.938 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1488, allocations: 0 / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.1493, allocations: 180.9 kB / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1494, allocations: 97.05 kB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.1495, allocations: 0 / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.1495, allocations: 15.92 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.1496, allocations: 4 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.1496, allocations: 4 kB / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1498, allocations: 137.2 kB / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1498, allocations: 0 / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.15, allocations: 27.98 kB / 0.4946 GB, free: 4.496 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00163/0.1517, allocations: 1.032 MB / 0.4956 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.1519, allocations: 79.89 kB / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.152, allocations: 4.25 kB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1521, allocations: 39.92 kB / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1524, allocations: 43.64 kB / 0.4958 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.1546, allocations: 1.74 MB / 0.4975 GB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1549, allocations: 0.7162 MB / 0.4982 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.224e-05/0.155, allocations: 13.42 kB / 0.4982 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.1551, allocations: 39.42 kB / 0.4982 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1551, allocations: 0 / 0.4982 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.1783, allocations: 3.762 MB / 0.5019 GB, free: 12.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/7.838, allocations: 11.83 kB / 0.5019 GB, free: 12.88 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches