Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.001279/0.001279, allocations: 107.7 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.001261/0.001261, allocations: 188.1 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.518/1.518, 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.2217/0.2217, 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.002114/0.002114, allocations: 71.91 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1361, allocations: 57.79 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004522/0.1407, allocations: 1.84 MB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.1432, allocations: 0.9052 MB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1433, allocations: 8 kB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.144, allocations: 223.4 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.1446, allocations: 167.4 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.1453, allocations: 147.6 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.1458, allocations: 227.4 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.146, allocations: 25.53 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1462, allocations: 111.6 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1464, allocations: 143.5 kB / 0.4912 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1464, allocations: 11.94 kB / 0.4912 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1465, allocations: 51.97 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.1466, allocations: 47.84 kB / 0.4913 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.965e-05/0.1468, allocations: 87.34 kB / 0.4914 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.1471, allocations: 210.9 kB / 0.4916 GB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1471, allocations: 0 / 0.4916 GB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1471, allocations: 0 / 0.4916 GB, free: 8.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1471, allocations: 0 / 0.4916 GB, free: 8.039 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008315/0.148, allocations: 0.5484 MB / 0.4921 GB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.148, allocations: 15.89 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.935e-05/0.1481, allocations: 34.73 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.1482, allocations: 32.75 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.1486, allocations: 284.3 kB / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1486, allocations: 8.375 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1487, allocations: 7.938 kB / 0.4925 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.1489, allocations: 95.34 kB / 0.4925 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1489, allocations: 4 kB / 0.4926 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1489, allocations: 0 / 0.4926 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1489, allocations: 0 / 0.4926 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1491, allocations: 47.91 kB / 0.4926 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.1497, allocations: 445 kB / 0.493 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.15, allocations: 121.3 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.354e-05/0.1501, allocations: 37.7 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.1501, allocations: 4 kB / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.1504, allocations: 120.9 kB / 0.4933 GB, free: 6.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1504, allocations: 0 / 0.4933 GB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009198/0.1513, allocations: 372.5 kB / 0.4936 GB, free: 5.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.1514, allocations: 85.05 kB / 0.4937 GB, free: 5.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.1519, allocations: 428.5 kB / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1519, allocations: 29.7 kB / 0.4942 GB, free: 5.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.152, allocations: 156.3 kB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.1521, allocations: 51.58 kB / 0.4944 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.1522, allocations: 37.7 kB / 0.4944 GB, free: 4.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1524, allocations: 338.8 kB / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1525, allocations: 39.98 kB / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1526, allocations: 79.53 kB / 0.4948 GB, free: 4.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.1528, allocations: 127.3 kB / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1528, allocations: 0 / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003566/0.1532, allocations: 181.4 kB / 0.4951 GB, free: 4.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1532, allocations: 7.938 kB / 0.4951 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1532, allocations: 0 / 0.4951 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1533, allocations: 4 kB / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1534, allocations: 35.98 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1535, allocations: 8 kB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.1535, allocations: 8 kB / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1536, allocations: 4 kB / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001563/0.1537, allocations: 169.7 kB / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.1538, allocations: 31.77 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/0.1539, allocations: 38.61 kB / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1539, allocations: 3.938 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1539, allocations: 4 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1539, allocations: 4 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007902/0.1547, allocations: 0.6245 MB / 0.496 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1547, allocations: 0 / 0.496 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.1548, allocations: 16 kB / 0.4961 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1548, allocations: 0 / 0.4961 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.1548, allocations: 11.98 kB / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1548, allocations: 64 / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1548, allocations: 11.94 kB / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.1553, allocations: 364.2 kB / 0.4964 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.1554, allocations: 100.9 kB / 0.4965 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.1554, allocations: 4 kB / 0.4965 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.1556, allocations: 11.98 kB / 0.4965 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.1556, allocations: 15.98 kB / 0.4966 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.1557, allocations: 8 kB / 0.4966 GB, free: 2.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003524/0.156, allocations: 319 kB / 0.4969 GB, free: 2.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.156, allocations: 0 / 0.4969 GB, free: 2.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004461/0.1565, allocations: 35.98 kB / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002619/0.1591, allocations: 1.275 MB / 0.4981 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.1596, allocations: 111.9 kB / 0.4983 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.1596, allocations: 4 kB / 0.4983 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.1598, allocations: 55.91 kB / 0.4983 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.1605, allocations: 65.84 kB / 0.4984 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.164, allocations: 2.644 MB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.1645, allocations: 0.7554 MB / 0.5017 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.1646, allocations: 33.94 kB / 0.5017 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.1648, allocations: 83.39 kB / 0.5018 GB, free: 12.99 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1648, allocations: 4 kB / 0.5018 GB, free: 12.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.1921, allocations: 5.747 MB / 0.5074 GB, free: 7.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.185, allocations: 0 / 0.5074 GB, free: 7.207 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches