Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.91 kB / 0.491 GB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1278, allocations: 65.97 MB / 0.5554 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003145/0.1309, allocations: 1.706 MB / 0.5571 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1326, allocations: 1.019 MB / 0.5581 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.1326, allocations: 3.938 kB / 0.5581 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.1329, allocations: 47.81 kB / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.1332, allocations: 107.5 kB / 0.5582 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.1334, allocations: 71.73 kB / 0.5583 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1335, allocations: 103.7 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.1336, allocations: 4.234 kB / 0.5584 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.1336, allocations: 43.8 kB / 0.5585 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.1337, allocations: 35.77 kB / 0.5585 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.1338, allocations: 4 kB / 0.5585 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.796e-05/0.1338, allocations: 28 kB / 0.5585 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.1339, allocations: 31.84 kB / 0.5586 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.1339, allocations: 39.69 kB / 0.5586 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1341, allocations: 119.4 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1341, allocations: 0 / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1341, allocations: 0 / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1342, allocations: 4 kB / 0.5587 GB, free: 2.43 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005952/0.1347, allocations: 442.5 kB / 0.5591 GB, free: 1.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1348, allocations: 12.03 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.1348, allocations: 34.73 kB / 0.5592 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.1349, allocations: 8.891 kB / 0.5592 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1351, allocations: 232.9 kB / 0.5594 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1352, allocations: 384 / 0.5594 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1352, allocations: 7.938 kB / 0.5594 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1353, allocations: 49.67 kB / 0.5595 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1353, allocations: 0 / 0.5595 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1353, allocations: 0 / 0.5595 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1353, allocations: 4 kB / 0.5595 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.008e-05/0.1354, allocations: 15.98 kB / 0.5595 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.1356, allocations: 185.7 kB / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1358, allocations: 62.47 kB / 0.5597 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1358, allocations: 24.84 kB / 0.5597 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1359, allocations: 0 / 0.5597 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.136, allocations: 63.39 kB / 0.5598 GB, free: 1.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.136, allocations: 3.938 kB / 0.5598 GB, free: 1.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003043/0.1363, allocations: 105.7 kB / 0.5599 GB, free: 1.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.1364, allocations: 51.41 kB / 0.56 GB, free: 0.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.1366, allocations: 274.8 kB / 0.5602 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1367, allocations: 29.7 kB / 0.5602 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.1367, allocations: 112.1 kB / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.1368, allocations: 19.88 kB / 0.5604 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.1368, allocations: 17.72 kB / 0.5604 GB, free: 496 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1369, allocations: 326.8 kB / 0.5607 GB, free: 160 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/0.137, allocations: 15.98 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.1371, allocations: 29.72 kB / 0.5607 GB, free: 108 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1372, allocations: 49.58 kB / 0.5608 GB, free: 52 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1372, allocations: 7.938 kB / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001706/0.1373, allocations: 77.59 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1374, allocations: 13.86 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1374, allocations: 0 / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1374, allocations: 0 / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.1374, allocations: 11.94 kB / 0.5609 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1375, allocations: 8.031 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.1375, allocations: 7.891 kB / 0.5609 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.1375, allocations: 4 kB / 0.5609 GB, free: 15.92 MB / 430.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 (7): * Single equations (assignments): 7 * 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.0001247/0.1376, allocations: 140 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1377, allocations: 15.89 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.1377, allocations: 17 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1377, allocations: 0 / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1377, allocations: 0 / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1377, allocations: 0 / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.1379, allocations: 205.6 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1379, allocations: 0 / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.1379, allocations: 7.984 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1379, allocations: 0 / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1379, allocations: 0 / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1379, allocations: 0 / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1379, allocations: 0 / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.1381, allocations: 125 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.1382, allocations: 93.02 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.1382, allocations: 0 / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.1382, allocations: 4 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.1383, allocations: 3.984 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1383, allocations: 4 kB / 0.5615 GB, free: 15.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.1385, allocations: 200.6 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1385, allocations: 0 / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.1387, allocations: 23.92 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.00194/0.1407, allocations: 0.9605 MB / 0.5627 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1408, allocations: 35.98 kB / 0.5627 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1408, allocations: 4 kB / 0.5627 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.237e-05/0.1409, allocations: 19.92 kB / 0.5627 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.1412, allocations: 35.97 kB / 0.5627 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1431, allocations: 1.678 MB / 0.5644 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.1435, allocations: 0.7158 MB / 0.5651 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.601e-05/0.1435, allocations: 8.562 kB / 0.5651 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.1436, allocations: 39.42 kB / 0.5651 GB, free: 11.52 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1436, allocations: 4 kB / 0.5651 GB, free: 11.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1677, allocations: 3.521 MB / 0.5686 GB, free: 8.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.155, allocations: 12.52 kB / 0.5686 GB, free: 8.051 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.31719377200352]