Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001339/0.001339, 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.001354/0.001354, 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.416/1.416, 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.236/0.236, allocations: 46.92 MB / 357.1 MB, free: 10.34 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.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.91 kB / 0.491 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1258, allocations: 65.99 MB / 0.5555 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003207/0.1291, allocations: 1.737 MB / 0.5572 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.1316, allocations: 1.645 MB / 0.5588 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.1317, allocations: 3.938 kB / 0.5588 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.132, allocations: 39.77 kB / 0.5588 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.1323, allocations: 99.55 kB / 0.5589 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1326, allocations: 75.72 kB / 0.559 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.1328, allocations: 107.6 kB / 0.5591 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.133, allocations: 16 kB / 0.5591 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1331, allocations: 47.77 kB / 0.5591 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1332, allocations: 43.83 kB / 0.5592 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1332, allocations: 8 kB / 0.5592 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.1334, allocations: 107.9 kB / 0.5593 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.1335, allocations: 19.91 kB / 0.5593 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.1335, allocations: 39.73 kB / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.1338, allocations: 175.3 kB / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1338, allocations: 0 / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1338, allocations: 0 / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1339, allocations: 0 / 0.5595 GB, free: 1.617 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.000662/0.1345, allocations: 422.7 kB / 0.5599 GB, free: 1.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1346, allocations: 19.97 kB / 0.5599 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.1346, allocations: 30.75 kB / 0.56 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.1347, allocations: 16.84 kB / 0.56 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.135, allocations: 220.4 kB / 0.5602 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.135, allocations: 4 kB / 0.5602 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.135, allocations: 4 kB / 0.5602 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1352, allocations: 67.39 kB / 0.5603 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1352, allocations: 0 / 0.5603 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1352, allocations: 7.984 kB / 0.5603 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1352, allocations: 0 / 0.5603 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.1353, allocations: 19.98 kB / 0.5603 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.1358, allocations: 292.8 kB / 0.5606 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.136, allocations: 46.69 kB / 0.5606 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.136, allocations: 24.84 kB / 0.5606 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.136, allocations: 0 / 0.5606 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1362, allocations: 71.39 kB / 0.5607 GB, free: 220 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1362, allocations: 0 / 0.5607 GB, free: 220 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005765/0.1368, allocations: 177.3 kB / 0.5609 GB, free: 36 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.1369, allocations: 85.05 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.137, allocations: 169.5 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1371, allocations: 33.58 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.1371, allocations: 104.1 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.1372, allocations: 27.75 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.1372, allocations: 25.7 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1374, allocations: 314.8 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.1374, allocations: 23.98 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.1375, allocations: 46.56 kB / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1376, allocations: 57.7 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1376, allocations: 0 / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002047/0.1378, allocations: 101.6 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1378, allocations: 4 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1378, allocations: 0 / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1379, allocations: 3.984 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.041e-05/0.138, allocations: 23.88 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.138, allocations: 8 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.138, allocations: 8 kB / 0.5619 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.138, allocations: 0 / 0.5619 GB, free: 14.95 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.0001218/0.1381, allocations: 124 kB / 0.562 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1382, allocations: 7.953 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.1382, allocations: 12.72 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1382, allocations: 3.938 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1382, allocations: 4 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1382, allocations: 3.984 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.1387, allocations: 403.3 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1387, allocations: 3.938 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.1387, allocations: 8 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1387, allocations: 0 / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1388, allocations: 4 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1388, allocations: 0 / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1388, allocations: 0 / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.139, allocations: 212.3 kB / 0.5626 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-05/0.1391, allocations: 89 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.1391, allocations: 0 / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.1392, allocations: 8.375 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1392, allocations: 7.984 kB / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1393, allocations: 0 / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1394, allocations: 127.4 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1394, allocations: 4 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.1397, allocations: 47.8 kB / 0.5629 GB, free: 13.79 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.002394/0.1421, allocations: 1.188 MB / 0.564 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1423, allocations: 59.89 kB / 0.5641 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1423, allocations: 0 / 0.5641 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.1423, allocations: 23.98 kB / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.1428, allocations: 30.69 kB / 0.5641 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.1447, allocations: 1.588 MB / 0.5657 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.145, allocations: 0.6973 MB / 0.5664 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.605e-05/0.1451, allocations: 29.16 kB / 0.5664 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.1452, allocations: 43.34 kB / 0.5665 GB, free: 10.21 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1452, allocations: 4 kB / 0.5665 GB, free: 10.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.1725, allocations: 4.052 MB / 0.5704 GB, free: 6.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.197, allocations: 15.66 kB / 0.5704 GB, free: 6.152 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.241439728997648]