Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.00197/0.00197, allocations: 105.8 kB / 16.4 MB, free: 6.461 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.001797/0.001797, allocations: 192.2 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.573/1.573, 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.2306/0.2306, allocations: 43.52 MB / 314.1 MB, free: 452 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.002148/0.002148, allocations: 77.47 kB / 441.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1339, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003629/0.1376, allocations: 1.912 MB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1391, allocations: 0.8312 MB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1392, allocations: 7.938 kB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.1396, allocations: 47.69 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.1399, allocations: 59.7 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.1402, allocations: 115.7 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1405, allocations: 127.6 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1406, allocations: 41.39 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1407, allocations: 59.78 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1408, allocations: 55.64 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.1409, allocations: 8 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.141, allocations: 43.98 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.1411, allocations: 23.92 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.201e-05/0.1412, allocations: 55.55 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1415, allocations: 151.3 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1415, allocations: 0 / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1415, allocations: 0 / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1415, allocations: 0 / 0.4909 GB, free: 8.672 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.0006885/0.1422, allocations: 492.2 kB / 0.4914 GB, free: 8.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1422, allocations: 11.89 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.1423, allocations: 42.69 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.1423, allocations: 16.84 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.1427, allocations: 216.2 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1427, allocations: 4.375 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.1428, allocations: 15.89 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.143, allocations: 112.2 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1431, allocations: 0 / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1431, allocations: 4 kB / 0.4918 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1431, allocations: 4 kB / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.1433, allocations: 43.95 kB / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.1439, allocations: 0.5126 MB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.1443, allocations: 86.59 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1444, allocations: 44.83 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.1444, allocations: 4 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.1447, allocations: 79.38 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.1447, allocations: 0 / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004664/0.1452, allocations: 145.4 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.1452, allocations: 51.78 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.1454, allocations: 191.5 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1455, allocations: 33.7 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.1456, allocations: 116 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.1456, allocations: 35.67 kB / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.1457, allocations: 33.7 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1458, allocations: 318.8 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.52e-05/0.1459, allocations: 27.98 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1461, allocations: 72.27 kB / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.1463, allocations: 92.2 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1463, allocations: 4 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003007/0.1466, allocations: 133.5 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1466, allocations: 7.938 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1466, allocations: 7.984 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1467, allocations: 3.938 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1468, allocations: 23.94 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1468, allocations: 3.984 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.1469, allocations: 24 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1469, allocations: 8 kB / 0.4938 GB, free: 5.41 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.0001158/0.147, allocations: 121.8 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.147, allocations: 23.83 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/0.1471, allocations: 17.41 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1471, allocations: 3.938 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1471, allocations: 0 / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1471, allocations: 0 / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.1473, allocations: 205.6 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1474, allocations: 4 kB / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.1e-05/0.1474, allocations: 19.98 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1474, allocations: 0 / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1475, allocations: 0 / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1475, allocations: 4.031 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1475, allocations: 3.938 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.1479, allocations: 184.9 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.1479, allocations: 92.98 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.148, allocations: 8 kB / 0.4945 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.148, allocations: 11.92 kB / 0.4945 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1481, allocations: 0 / 0.4945 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1481, allocations: 4 kB / 0.4945 GB, free: 4.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1483, allocations: 145.2 kB / 0.4946 GB, free: 4.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1483, allocations: 0 / 0.4946 GB, free: 4.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1485, 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.0015/0.15, allocations: 1.028 MB / 0.4956 GB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.1503, allocations: 79.89 kB / 0.4957 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1503, allocations: 4.25 kB / 0.4957 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1504, allocations: 39.92 kB / 0.4958 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.1508, allocations: 46.84 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.002077/0.1528, allocations: 1.74 MB / 0.4975 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1532, allocations: 0.7162 MB / 0.4982 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.373e-05/0.1533, allocations: 17.42 kB / 0.4982 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.1534, allocations: 39.42 kB / 0.4983 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1534, allocations: 0 / 0.4983 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.1756, allocations: 3.762 MB / 0.5019 GB, free: 12.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/7.888, allocations: 8 kB / 0.5019 GB, free: 12.84 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_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_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches