Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001893/0.001893, 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.002232/0.002232, 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.487/1.487, 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.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.2589/0.2589, allocations: 44.9 MB / 355.1 MB, free: 12.32 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",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.001889/0.001889, allocations: 71.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.13, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003093/0.1331, allocations: 1.599 MB / 0.5533 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1342, allocations: 0.5455 MB / 0.5539 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.1342, allocations: 4 kB / 0.5539 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.1344, allocations: 27.78 kB / 0.5539 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1347, allocations: 79.67 kB / 0.554 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.135, allocations: 119.5 kB / 0.5541 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1351, allocations: 63.78 kB / 0.5541 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.1352, allocations: 15.92 kB / 0.5542 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.1353, allocations: 19.92 kB / 0.5542 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.1353, allocations: 27.84 kB / 0.5542 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1353, allocations: 4 kB / 0.5542 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.861e-05/0.1354, allocations: 35.94 kB / 0.5542 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.1355, allocations: 15.92 kB / 0.5543 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.1355, allocations: 27.8 kB / 0.5543 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1357, allocations: 75.72 kB / 0.5544 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1357, allocations: 4 kB / 0.5544 GB, free: 7.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1357, allocations: 0 / 0.5544 GB, free: 7.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1357, allocations: 0 / 0.5544 GB, free: 7.449 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.0005428/0.1363, allocations: 394.9 kB / 0.5547 GB, free: 7.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1363, allocations: 12.03 kB / 0.5547 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.1363, allocations: 30.75 kB / 0.5548 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.1364, allocations: 8.891 kB / 0.5548 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1366, allocations: 204.1 kB / 0.555 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1366, allocations: 384 / 0.555 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.1366, allocations: 4.375 kB / 0.555 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1368, allocations: 53.62 kB / 0.555 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1368, allocations: 0 / 0.555 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1368, allocations: 0 / 0.555 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1368, allocations: 0 / 0.555 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1369, allocations: 27.97 kB / 0.5551 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.1373, allocations: 284.8 kB / 0.5553 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.1375, allocations: 46.55 kB / 0.5554 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.1376, allocations: 16.86 kB / 0.5554 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1376, allocations: 0 / 0.5554 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1376, allocations: 34.64 kB / 0.5554 GB, free: 6.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1376, allocations: 4 kB / 0.5554 GB, free: 6.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000591/0.1382, allocations: 149.4 kB / 0.5556 GB, free: 6.027 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1382, allocations: 55.41 kB / 0.5556 GB, free: 5.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1384, allocations: 164.6 kB / 0.5558 GB, free: 5.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1384, allocations: 29.7 kB / 0.5558 GB, free: 5.758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.1385, allocations: 96.08 kB / 0.5559 GB, free: 5.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.1385, allocations: 23.84 kB / 0.5559 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.1386, allocations: 17.72 kB / 0.5559 GB, free: 5.613 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.1388, allocations: 322.8 kB / 0.5563 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.1389, allocations: 23.92 kB / 0.5563 GB, free: 5.266 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.102e-05/0.1389, allocations: 19.98 kB / 0.5563 GB, free: 5.246 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.1391, allocations: 52.83 kB / 0.5563 GB, free: 5.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1391, allocations: 8.125 kB / 0.5564 GB, free: 5.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002074/0.1393, allocations: 93.61 kB / 0.5564 GB, free: 5.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1393, allocations: 4 kB / 0.5564 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.1393, allocations: 0 / 0.5564 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1393, allocations: 288 / 0.5564 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.1394, allocations: 15.98 kB / 0.5565 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1394, allocations: 7.875 kB / 0.5565 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.1394, allocations: 4 kB / 0.5565 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1394, allocations: 0 / 0.5565 GB, free: 5.055 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 9.236e-05/0.1395, allocations: 128 kB / 0.5566 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.1396, allocations: 7.938 kB / 0.5566 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.1398, allocations: 101.9 kB / 0.5567 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1398, allocations: 4 kB / 0.5567 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1398, allocations: 3.938 kB / 0.5567 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1398, allocations: 0 / 0.5567 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.1403, allocations: 362.5 kB / 0.5571 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1403, allocations: 0 / 0.5571 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1404, allocations: 15.98 kB / 0.5571 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1404, allocations: 3.938 kB / 0.5571 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1404, allocations: 0 / 0.5571 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1404, allocations: 0 / 0.5571 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1404, allocations: 0 / 0.5571 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.1407, allocations: 187.7 kB / 0.5573 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.1408, allocations: 85.06 kB / 0.5573 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1408, allocations: 7.938 kB / 0.5573 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1408, allocations: 8 kB / 0.5573 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.1409, allocations: 3.984 kB / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1409, allocations: 4 kB / 0.5574 GB, free: 4.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.141, allocations: 126.2 kB / 0.5575 GB, free: 3.922 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.141, allocations: 0 / 0.5575 GB, free: 3.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1412, allocations: 23.89 kB / 0.5575 GB, free: 3.898 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.001968/0.1432, allocations: 1.013 MB / 0.5585 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1434, allocations: 63.89 kB / 0.5585 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1434, allocations: 0 / 0.5585 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.941e-05/0.1435, allocations: 23.98 kB / 0.5586 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1439, allocations: 15.98 kB / 0.5586 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1458, allocations: 1.488 MB / 0.56 GB, free: 1.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1461, allocations: 0.7002 MB / 0.5607 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.877e-05/0.1462, allocations: 15.77 kB / 0.5607 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.1462, allocations: 35.36 kB / 0.5608 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1462, allocations: 0 / 0.5608 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.1703, allocations: 2.64 MB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.212, allocations: 7.688 kB / 0.5634 GB, free: 13.96 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_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_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.351100308820605]