Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001304/0.001304, 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.002422/0.002422, 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.527/1.527, 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.264/0.264, allocations: 46.93 MB / 357.1 MB, free: 10.28 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.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.91 kB / 0.4909 GB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1345, allocations: 65.99 MB / 0.5554 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003151/0.1377, allocations: 1.613 MB / 0.557 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1395, allocations: 1.171 MB / 0.5581 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.614e-05/0.1396, allocations: 4 kB / 0.5581 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1399, allocations: 23.8 kB / 0.5581 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.1402, allocations: 87.61 kB / 0.5582 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.1405, allocations: 107.7 kB / 0.5583 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1407, allocations: 71.77 kB / 0.5584 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1409, allocations: 11.98 kB / 0.5584 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.276e-05/0.1409, allocations: 27.92 kB / 0.5584 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1411, allocations: 35.78 kB / 0.5585 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1411, allocations: 4 kB / 0.5585 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.1413, allocations: 99.92 kB / 0.5586 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.1414, allocations: 15.92 kB / 0.5586 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.1414, allocations: 31.75 kB / 0.5586 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1417, allocations: 139.5 kB / 0.5587 GB, free: 2.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1417, allocations: 0 / 0.5587 GB, free: 2.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1417, allocations: 0 / 0.5587 GB, free: 2.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1417, allocations: 0 / 0.5587 GB, free: 2.324 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005636/0.1423, allocations: 402.8 kB / 0.5591 GB, free: 1.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1423, allocations: 8.031 kB / 0.5591 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.1424, allocations: 34.75 kB / 0.5592 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.1424, allocations: 12.89 kB / 0.5592 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1426, allocations: 202.1 kB / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.1426, allocations: 384 / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1427, allocations: 4.375 kB / 0.5594 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1428, allocations: 67.33 kB / 0.5594 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1428, allocations: 0 / 0.5594 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1428, allocations: 3.984 kB / 0.5594 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1428, allocations: 0 / 0.5594 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.1429, allocations: 31.97 kB / 0.5595 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.1434, allocations: 284.8 kB / 0.5597 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1436, allocations: 42.56 kB / 0.5598 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.1437, allocations: 20.94 kB / 0.5598 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1437, allocations: 0 / 0.5598 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.1437, allocations: 42.5 kB / 0.5598 GB, free: 1.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1437, allocations: 0 / 0.5598 GB, free: 1.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006527/0.1444, allocations: 149.4 kB / 0.56 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.1444, allocations: 81.11 kB / 0.5601 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1446, allocations: 145.8 kB / 0.5602 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1446, allocations: 25.7 kB / 0.5602 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.1447, allocations: 100.1 kB / 0.5603 GB, free: 492 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.1447, allocations: 15.8 kB / 0.5603 GB, free: 476 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.1448, allocations: 17.72 kB / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1449, allocations: 330.7 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/0.145, allocations: 23.92 kB / 0.5607 GB, free: 88 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.1451, allocations: 37.69 kB / 0.5607 GB, free: 44 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1453, allocations: 57.12 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1453, allocations: 0 / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002048/0.1455, allocations: 89.61 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1455, allocations: 6.188 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1455, allocations: 0 / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1455, allocations: 0 / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.1456, allocations: 15.94 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1456, allocations: 4 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.1456, allocations: 11.92 kB / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1456, allocations: 0 / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.16e-05/0.1457, allocations: 116 kB / 0.561 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.1458, allocations: 7.953 kB / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.146, allocations: 97.95 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.146, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.146, allocations: 4 kB / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.146, allocations: 3.938 kB / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.1465, allocations: 358.5 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1465, allocations: 0 / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.1466, allocations: 15.98 kB / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1466, allocations: 0 / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1466, allocations: 3.938 kB / 0.5615 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1466, allocations: 0 / 0.5615 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1466, allocations: 4 kB / 0.5615 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1468, allocations: 187.6 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.1469, allocations: 85.06 kB / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1469, allocations: 7.938 kB / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.147, allocations: 7.984 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.147, allocations: 0 / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.147, allocations: 8 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.984e-05/0.1471, allocations: 115.2 kB / 0.5619 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1471, allocations: 3.938 kB / 0.5619 GB, free: 14.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.1474, allocations: 43.8 kB / 0.5619 GB, free: 14.7 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002163/0.1496, allocations: 1.098 MB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.1498, allocations: 55.89 kB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1498, allocations: 4 kB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.1499, allocations: 27.98 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1502, allocations: 15.98 kB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.152, allocations: 1.448 MB / 0.5645 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1523, allocations: 0.6885 MB / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.483e-05/0.1524, allocations: 28.22 kB / 0.5652 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.1524, allocations: 31.41 kB / 0.5652 GB, free: 11.37 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1524, allocations: 0 / 0.5652 GB, free: 11.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.1787, allocations: 3.272 MB / 0.5684 GB, free: 8.105 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.282, allocations: 12.86 kB / 0.5684 GB, free: 8.094 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.615931835010997]