Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001729/0.001729, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002298/0.002298, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.513/1.513, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2353/0.2353, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 76.09 kB / 0.491 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1291, allocations: 65.98 MB / 0.5555 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003372/0.1325, allocations: 1.737 MB / 0.5571 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1342, allocations: 1.046 MB / 0.5582 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.1343, allocations: 0 / 0.5582 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1346, allocations: 39.78 kB / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.1349, allocations: 87.59 kB / 0.5583 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.135, allocations: 83.66 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1352, allocations: 107.6 kB / 0.5585 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.1353, allocations: 12 kB / 0.5585 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.1354, allocations: 51.77 kB / 0.5585 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.1355, allocations: 27.86 kB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1355, allocations: 4 kB / 0.5586 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.1356, allocations: 43.98 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.1357, allocations: 19.91 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.1357, allocations: 39.69 kB / 0.5587 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.136, allocations: 115.5 kB / 0.5588 GB, free: 2.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.136, allocations: 0 / 0.5588 GB, free: 2.344 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.136, allocations: 0 / 0.5588 GB, free: 2.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.136, allocations: 0 / 0.5588 GB, free: 2.344 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006033/0.1366, allocations: 422.7 kB / 0.5592 GB, free: 1.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1367, allocations: 12.03 kB / 0.5592 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.1367, allocations: 34.73 kB / 0.5592 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.1367, allocations: 12.84 kB / 0.5592 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.137, allocations: 214.4 kB / 0.5594 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.137, allocations: 4.312 kB / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1371, allocations: 7.938 kB / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1372, allocations: 53.67 kB / 0.5595 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1372, allocations: 0 / 0.5595 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1372, allocations: 4 kB / 0.5595 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1372, allocations: 0 / 0.5595 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.1373, allocations: 23.97 kB / 0.5595 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.1377, allocations: 280.9 kB / 0.5598 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1379, allocations: 62.61 kB / 0.5599 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.138, allocations: 20.86 kB / 0.5599 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.138, allocations: 0 / 0.5599 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.1381, allocations: 63.39 kB / 0.5599 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1381, allocations: 4 kB / 0.5599 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005382/0.1387, allocations: 177.5 kB / 0.5601 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1387, allocations: 51.41 kB / 0.5602 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1389, allocations: 193.6 kB / 0.5603 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1389, allocations: 25.7 kB / 0.5604 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.139, allocations: 100.1 kB / 0.5605 GB, free: 412 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.139, allocations: 27.78 kB / 0.5605 GB, free: 384 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1391, allocations: 29.7 kB / 0.5605 GB, free: 348 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1392, allocations: 318.8 kB / 0.5608 GB, free: 20 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.1393, allocations: 24.2 kB / 0.5608 GB, free: 15.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.1394, allocations: 45.7 kB / 0.5609 GB, free: 15.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1395, allocations: 61.7 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1395, allocations: 0 / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002646/0.1397, allocations: 105.5 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1397, allocations: 4 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1398, allocations: 3.984 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1398, allocations: 0 / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.1399, allocations: 16 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1399, allocations: 4.031 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.1399, allocations: 3.938 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1399, allocations: 11.92 kB / 0.5611 GB, free: 15.72 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 (10): * Single equations (assignments): 10 * 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.0001006/0.14, allocations: 121.8 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.14, allocations: 7.953 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.1401, allocations: 21.39 kB / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1401, allocations: 0 / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1401, allocations: 0 / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1401, allocations: 3.938 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.1406, allocations: 399.2 kB / 0.5616 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1406, allocations: 0 / 0.5616 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.1406, allocations: 11.98 kB / 0.5616 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1406, allocations: 3.938 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1406, allocations: 0 / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1406, allocations: 4 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1406, allocations: 0 / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1409, allocations: 204.3 kB / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.1409, allocations: 89.02 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.1409, allocations: 7.938 kB / 0.5619 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.141, allocations: 7.984 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.141, allocations: 0 / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1411, allocations: 4 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.1412, allocations: 141.8 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 4 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1415, allocations: 24.12 kB / 0.5621 GB, free: 14.58 MB / 430.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 (8): * Single equations (assignments): 6 * 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.002149/0.1436, allocations: 1.107 MB / 0.5632 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.1438, allocations: 51.92 kB / 0.5632 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1438, allocations: 0 / 0.5632 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.925e-05/0.1439, allocations: 23.98 kB / 0.5632 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1443, allocations: 40.03 kB / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1463, allocations: 1.644 MB / 0.5649 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.1467, allocations: 0.7002 MB / 0.5656 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.534e-05/0.1468, allocations: 25.11 kB / 0.5656 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.1468, allocations: 35.42 kB / 0.5656 GB, free: 10.99 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1468, allocations: 0 / 0.5656 GB, free: 10.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1724, allocations: 3.416 MB / 0.569 GB, free: 7.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/7.933, allocations: 18.77 kB / 0.569 GB, free: 7.625 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.162236623000354]