Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.001253/0.001253, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001141/0.001141, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2454/0.2454, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 61.31 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 60.82 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00343/0.1252, allocations: 1.89 MB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1269, allocations: 0.9782 MB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.127, allocations: 7.938 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004039/0.1274, allocations: 163.5 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.1278, allocations: 135.5 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.1283, allocations: 186.8 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.1286, allocations: 227.3 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1287, allocations: 29.67 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1289, allocations: 103.6 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1291, allocations: 127.5 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.1291, allocations: 8 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1292, allocations: 63.97 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/0.1293, allocations: 51.83 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.286e-05/0.1294, allocations: 79.36 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1297, allocations: 211.5 kB / 473.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1297, allocations: 4 kB / 473.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1297, allocations: 0 / 473.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1297, allocations: 0 / 473.6 MB, free: 9.984 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006767/0.1304, allocations: 0.5215 MB / 474.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1304, allocations: 12.03 kB / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.1305, allocations: 38.73 kB / 474.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.1306, allocations: 24.66 kB / 474.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1309, allocations: 267.5 kB / 474.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1309, allocations: 8.375 kB / 474.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1309, allocations: 15.94 kB / 474.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.1311, allocations: 107.3 kB / 474.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1312, allocations: 0 / 474.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.1312, allocations: 3.984 kB / 474.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1312, allocations: 4 kB / 474.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1313, allocations: 47.91 kB / 474.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.1319, allocations: 468.7 kB / 475.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.1323, allocations: 121.2 kB / 475.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.1324, allocations: 45.83 kB / 475.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.1324, allocations: 7.984 kB / 475.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.1327, allocations: 119.5 kB / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.1327, allocations: 0 / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001254/0.134, allocations: 489.1 kB / 475.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.134, allocations: 89.03 kB / 476 MB, free: 7.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.1344, allocations: 351 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1344, allocations: 33.7 kB / 476.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.1345, allocations: 144.5 kB / 476.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.1346, allocations: 67.09 kB / 476.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.1347, allocations: 41.72 kB / 476.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1348, allocations: 342.8 kB / 476.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.1349, allocations: 55.98 kB / 477 MB, free: 6.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1351, allocations: 99.27 kB / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.1353, allocations: 159.3 kB / 477.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1353, allocations: 0 / 477.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003944/0.1357, allocations: 237.2 kB / 477.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1358, allocations: 8 kB / 477.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1358, allocations: 0 / 477.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1358, allocations: 0 / 477.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.1359, allocations: 43.92 kB / 477.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.136, allocations: 0 / 477.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.1361, allocations: 16.05 kB / 477.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1361, allocations: 8 kB / 477.5 MB, free: 5.77 MB / 350.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 (26): * Single equations (assignments): 26 * 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.000146/0.1362, allocations: 153.8 kB / 477.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.1363, allocations: 39.55 kB / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.846e-05/0.1364, allocations: 37.95 kB / 477.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1364, allocations: 4 kB / 477.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.1364, allocations: 0 / 477.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1364, allocations: 0 / 477.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009096/0.1373, allocations: 0.7232 MB / 478.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1373, allocations: 4 kB / 478.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-05/0.1374, allocations: 31.92 kB / 478.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1374, allocations: 4.125 kB / 478.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.1375, allocations: 8 kB / 478.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1375, allocations: 4 kB / 478.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1375, allocations: 3.938 kB / 478.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.138, allocations: 415.5 kB / 478.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.1381, allocations: 100.7 kB / 479 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.1381, allocations: 8.188 kB / 479 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1383, allocations: 11.98 kB / 479.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.1384, allocations: 23.86 kB / 479.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.1384, allocations: 15.98 kB / 479.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002958/0.1387, allocations: 265.9 kB / 479.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1387, allocations: 0 / 479.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003914/0.1391, allocations: 43.98 kB / 479.4 MB, free: 3.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.002149/0.1413, allocations: 1.359 MB / 480.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.1417, allocations: 165.2 kB / 480.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1417, allocations: 0 / 480.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.1418, allocations: 84.09 kB / 481 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.1424, allocations: 63.45 kB / 481.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.1455, allocations: 2.655 MB / 483.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1459, allocations: 0.7558 MB / 484.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.146, allocations: 49.89 kB / 484.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.1462, allocations: 79.41 kB / 484.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1462, allocations: 384 / 484.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.1688, allocations: 5.839 MB / 490.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.615, allocations: 8.172 kB / 490.4 MB, free: 8.844 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches