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.001513/0.001513, allocations: 109.5 kB / 16.41 MB, free: 6.469 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.001651/0.001651, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.476/1.476, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2315/0.2315, allocations: 43.53 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.002747/0.002747, allocations: 69.47 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1335, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003461/0.137, allocations: 1.908 MB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1385, allocations: 0.8389 MB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.617e-05/0.1386, allocations: 4 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.139, allocations: 43.7 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.1392, allocations: 59.69 kB / 0.4902 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.1396, allocations: 111.7 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.1398, allocations: 135.6 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1399, allocations: 33.45 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.14, allocations: 55.72 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.98e-05/0.1402, allocations: 47.72 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.1402, allocations: 11.98 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1403, allocations: 47.98 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.1404, allocations: 27.8 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.1405, allocations: 51.61 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1407, allocations: 151.3 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1408, allocations: 0 / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1408, allocations: 0 / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1408, allocations: 0 / 0.4909 GB, free: 8.676 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.0007062/0.1415, allocations: 492.1 kB / 0.4914 GB, free: 8.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1415, allocations: 19.88 kB / 0.4914 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.1416, allocations: 38.75 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.1416, allocations: 16.84 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.142, allocations: 220.2 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.142, allocations: 384 / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1421, allocations: 15.89 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.1423, allocations: 115.8 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1423, allocations: 0 / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1423, allocations: 4 kB / 0.4918 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1423, allocations: 4 kB / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.1425, allocations: 43.91 kB / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.1431, allocations: 0.5127 MB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.1434, allocations: 82.61 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1436, allocations: 52.81 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1436, allocations: 0 / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.1438, allocations: 79.38 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.1438, allocations: 0 / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000397/0.1442, allocations: 145.4 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.1443, allocations: 55.41 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1445, allocations: 195.4 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1445, allocations: 29.7 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/0.1446, allocations: 108.5 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1446, allocations: 39.72 kB / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.1447, allocations: 29.7 kB / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1448, allocations: 322.8 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.1449, allocations: 31.92 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.145, allocations: 68.27 kB / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1452, allocations: 92.22 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1452, allocations: 0 / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002798/0.1455, allocations: 137.4 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1456, allocations: 8 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1456, allocations: 3.938 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1456, allocations: 7.938 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.1457, allocations: 23.92 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1457, allocations: 4.125 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.1458, allocations: 19.88 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1458, allocations: 8 kB / 0.4938 GB, free: 5.414 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.0001405/0.1459, allocations: 125.7 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.146, allocations: 15.91 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.146, allocations: 25.38 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.146, allocations: 3.938 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.146, allocations: 0 / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1461, allocations: 0 / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1463, allocations: 209.6 kB / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1463, allocations: 0 / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.1464, allocations: 15.98 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1464, allocations: 4 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1464, allocations: 0 / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1464, allocations: 7.938 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1464, allocations: 0 / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.1468, allocations: 185 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.1469, allocations: 96.97 kB / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1469, allocations: 4 kB / 0.4945 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.147, allocations: 7.938 kB / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.147, allocations: 7.984 kB / 0.4945 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.147, allocations: 4 kB / 0.4945 GB, free: 4.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1472, allocations: 141.2 kB / 0.4946 GB, free: 4.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1472, allocations: 0 / 0.4946 GB, free: 4.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1474, allocations: 24 kB / 0.4946 GB, free: 4.453 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.002034/0.1495, allocations: 1.032 MB / 0.4956 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.1498, allocations: 76.08 kB / 0.4957 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1498, allocations: 4.062 kB / 0.4957 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.1499, allocations: 35.92 kB / 0.4958 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1502, allocations: 50.55 kB / 0.4958 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1524, allocations: 1.733 MB / 0.4975 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1528, allocations: 0.7201 MB / 0.4982 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.824e-05/0.1529, allocations: 17.42 kB / 0.4982 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.153, allocations: 39.42 kB / 0.4982 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.153, allocations: 0 / 0.4982 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.18, allocations: 3.762 MB / 0.5019 GB, free: 12.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.147, allocations: 3.938 kB / 0.5019 GB, free: 12.85 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