Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001642/0.001642, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002052/0.002052, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.582/1.582, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2558/0.2558, allocations: 44.91 MB / 355.1 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] 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.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1378, allocations: 65.42 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003532/0.1414, allocations: 1.603 MB / 0.5533 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1425, allocations: 0.5455 MB / 0.5539 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.1426, allocations: 4 kB / 0.5539 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.1429, allocations: 23.84 kB / 0.5539 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.1432, allocations: 79.62 kB / 0.554 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1436, allocations: 115.6 kB / 0.5541 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1437, allocations: 63.84 kB / 0.5541 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1439, allocations: 23.84 kB / 0.5542 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.854e-05/0.1439, allocations: 15.94 kB / 0.5542 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.144, allocations: 23.86 kB / 0.5542 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.144, allocations: 0 / 0.5542 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.1441, allocations: 35.98 kB / 0.5542 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.1441, allocations: 19.92 kB / 0.5543 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.1442, allocations: 23.8 kB / 0.5543 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1444, allocations: 75.67 kB / 0.5543 GB, free: 7.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1444, allocations: 0 / 0.5543 GB, free: 7.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1444, allocations: 4 kB / 0.5544 GB, free: 7.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1444, allocations: 0 / 0.5544 GB, free: 7.465 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.0005843/0.145, allocations: 390.9 kB / 0.5547 GB, free: 7.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.145, allocations: 12.03 kB / 0.5547 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.1451, allocations: 34.75 kB / 0.5548 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.1451, allocations: 8.891 kB / 0.5548 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1453, allocations: 186.3 kB / 0.555 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1453, allocations: 384 / 0.555 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1454, allocations: 4.375 kB / 0.555 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1455, allocations: 57.55 kB / 0.555 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1455, allocations: 7.938 kB / 0.555 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1456, allocations: 4 kB / 0.555 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1456, allocations: 0 / 0.555 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1457, allocations: 19.98 kB / 0.555 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.1461, allocations: 284.8 kB / 0.5553 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.1464, allocations: 46.5 kB / 0.5554 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.1464, allocations: 20.94 kB / 0.5554 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1464, allocations: 0 / 0.5554 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1465, allocations: 34.56 kB / 0.5554 GB, free: 6.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.1465, allocations: 0 / 0.5554 GB, free: 6.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006448/0.1471, allocations: 157.5 kB / 0.5556 GB, free: 6.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1472, allocations: 51.41 kB / 0.5556 GB, free: 5.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1473, allocations: 148.6 kB / 0.5558 GB, free: 5.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1474, allocations: 33.64 kB / 0.5558 GB, free: 5.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.1474, allocations: 96.12 kB / 0.5559 GB, free: 5.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1474, allocations: 15.8 kB / 0.5559 GB, free: 5.676 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.1475, allocations: 21.7 kB / 0.5559 GB, free: 5.648 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1476, allocations: 326.8 kB / 0.5562 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.1477, allocations: 23.97 kB / 0.5562 GB, free: 5.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.1478, allocations: 20.17 kB / 0.5563 GB, free: 5.277 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.1479, allocations: 52.83 kB / 0.5563 GB, free: 5.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1479, allocations: 4 kB / 0.5563 GB, free: 5.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002107/0.1482, allocations: 89.64 kB / 0.5564 GB, free: 5.125 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1482, allocations: 8 kB / 0.5564 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1482, allocations: 7.969 kB / 0.5564 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.1482, allocations: 4 kB / 0.5564 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.1483, allocations: 11.98 kB / 0.5564 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1483, allocations: 0 / 0.5564 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.1483, allocations: 4 kB / 0.5564 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.1483, allocations: 3.938 kB / 0.5564 GB, free: 5.086 MB / 414.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 0.0001106/0.1484, allocations: 120 kB / 0.5566 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.1485, allocations: 7.938 kB / 0.5566 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.1487, allocations: 101.9 kB / 0.5567 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1488, allocations: 0 / 0.5567 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1488, allocations: 0 / 0.5567 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1488, allocations: 7.938 kB / 0.5567 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.1492, allocations: 354.5 kB / 0.557 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1492, allocations: 0 / 0.557 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.1493, allocations: 19.92 kB / 0.557 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.1493, allocations: 0 / 0.557 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1493, allocations: 4.188 kB / 0.557 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.1493, allocations: 7.938 kB / 0.557 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1493, allocations: 0 / 0.557 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1496, allocations: 183.5 kB / 0.5572 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.1496, allocations: 85.05 kB / 0.5573 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1497, allocations: 4 kB / 0.5573 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.1497, allocations: 7.938 kB / 0.5573 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.1498, allocations: 4 kB / 0.5573 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1498, allocations: 3.984 kB / 0.5573 GB, free: 4.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.763e-05/0.1499, allocations: 116.8 kB / 0.5574 GB, free: 3.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1499, allocations: 0 / 0.5574 GB, free: 3.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1501, allocations: 15.98 kB / 0.5574 GB, free: 3.957 MB / 414.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.001962/0.1521, allocations: 1.016 MB / 0.5584 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1523, allocations: 51.89 kB / 0.5585 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1523, allocations: 3.938 kB / 0.5585 GB, free: 3.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.1524, allocations: 27.98 kB / 0.5585 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1528, allocations: 23.86 kB / 0.5585 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.1547, allocations: 1.46 MB / 0.56 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.155, allocations: 0.6975 MB / 0.5606 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.592e-05/0.1551, allocations: 24.02 kB / 0.5607 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.1551, allocations: 31.36 kB / 0.5607 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1551, allocations: 0 / 0.5607 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.1787, allocations: 2.586 MB / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.074, allocations: 10.38 kB / 0.5632 GB, free: 14.1 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.526779813226312]