Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.001464/0.001464, allocations: 105.1 kB / 16.27 MB, free: 6.41 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.001676/0.001676, allocations: 190.8 kB / 17.2 MB, free: 5.953 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.397/1.397, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2179/0.2179, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.001562/0.001562, allocations: 71.11 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1448, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003543/0.1485, allocations: 1.705 MB / 442.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1496, allocations: 0.8156 MB / 443.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.1497, allocations: 3.938 kB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.1501, allocations: 39.83 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1503, allocations: 55.69 kB / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1506, allocations: 83.77 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1508, allocations: 95.7 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1509, allocations: 16.16 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.281e-05/0.151, allocations: 51.72 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.1511, allocations: 31.84 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.1511, allocations: 4 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.1513, allocations: 63.97 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.1513, allocations: 19.92 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.1514, allocations: 31.8 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1516, allocations: 127.6 kB / 443.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1516, allocations: 0 / 443.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1516, allocations: 0 / 443.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1516, allocations: 0 / 443.8 MB, free: 3.645 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005183/0.1521, allocations: 411 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1522, allocations: 19.83 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.1522, allocations: 30.75 kB / 444.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.1523, allocations: 12.83 kB / 444.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1525, allocations: 201.4 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1525, allocations: 4.359 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1525, allocations: 7.938 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1527, allocations: 79.27 kB / 444.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1528, allocations: 4 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1528, allocations: 0 / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1528, allocations: 0 / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.1529, allocations: 27.97 kB / 444.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.1532, allocations: 292.8 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.1534, allocations: 62.48 kB / 444.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.1534, allocations: 24.98 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1535, allocations: 3.984 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.1536, allocations: 71.38 kB / 445 MB, free: 2.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1537, allocations: 0 / 445 MB, free: 2.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005792/0.1542, allocations: 177.4 kB / 445.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.1543, allocations: 81.11 kB / 445.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1544, allocations: 168.8 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1544, allocations: 29.69 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.1545, allocations: 96.05 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1545, allocations: 27.64 kB / 445.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.1546, allocations: 25.72 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.1547, allocations: 318.8 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.1547, allocations: 23.98 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.1548, allocations: 46.56 kB / 446 MB, free: 1.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1549, allocations: 69.58 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1549, allocations: 0 / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001732/0.1551, allocations: 105.6 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1551, allocations: 8 kB / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.1552, allocations: 0 / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1552, allocations: 3.984 kB / 446.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.1553, allocations: 20.06 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1553, allocations: 480 / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.1553, allocations: 11.94 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1554, allocations: 7.984 kB / 446.2 MB, free: 0.9648 MB / 318.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 (11): * Single equations (assignments): 11 * 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 8.139e-05/0.1554, allocations: 125.7 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.1555, allocations: 7.906 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.1557, allocations: 114.4 kB / 446.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1557, allocations: 4 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1557, allocations: 7.938 kB / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1557, allocations: 3.938 kB / 446.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.1561, allocations: 395.3 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1561, allocations: 3.938 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.1562, allocations: 11.98 kB / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1562, allocations: 7.938 kB / 446.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1562, allocations: 4 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1562, allocations: 0 / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1562, allocations: 4.031 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1564, allocations: 204.3 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/0.1565, allocations: 85.02 kB / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.1566, allocations: 7.875 kB / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.1566, allocations: 8 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.1567, allocations: 7.984 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1567, allocations: 8 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1568, allocations: 115.2 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1568, allocations: 0 / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.1572, allocations: 28 kB / 447.3 MB, free: 15.71 MB / 334.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 (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.001927/0.1591, allocations: 1.159 MB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002784/0.1594, allocations: 75.81 kB / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.1594, allocations: 4 kB / 448.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/0.1595, allocations: 27.98 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.1599, allocations: 30.02 kB / 448.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1619, allocations: 1.567 MB / 450.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.1623, allocations: 0.708 MB / 450.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.372e-05/0.1624, allocations: 12.88 kB / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.1625, allocations: 35.42 kB / 450.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1625, allocations: 0 / 450.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.1855, allocations: 3.571 MB / 454.5 MB, free: 8.438 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/7.947, allocations: 11.83 kB / 454.5 MB, free: 8.426 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches