Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001503/0.001503, allocations: 123.4 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.0015/0.0015, allocations: 208.3 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.586/1.586, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2339/0.2339, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 75.88 kB / 0.491 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1368, allocations: 65.98 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003195/0.14, allocations: 1.609 MB / 0.557 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1419, allocations: 1.164 MB / 0.5581 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.142, allocations: 8 kB / 0.5581 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.1422, allocations: 27.77 kB / 0.5581 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.1425, allocations: 79.62 kB / 0.5582 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.1428, allocations: 87.7 kB / 0.5583 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1429, allocations: 71.77 kB / 0.5584 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.143, allocations: 8 kB / 0.5584 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.1431, allocations: 27.91 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1432, allocations: 31.84 kB / 0.5584 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1433, allocations: 4 kB / 0.5584 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.1435, allocations: 107.9 kB / 0.5585 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.1435, allocations: 19.91 kB / 0.5586 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.1435, allocations: 19.81 kB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.1438, allocations: 135.5 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1438, allocations: 0 / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1438, allocations: 0 / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1438, allocations: 0 / 0.5587 GB, free: 2.434 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.0005755/0.1444, allocations: 410.7 kB / 0.5591 GB, free: 1.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1444, allocations: 12.03 kB / 0.5591 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.1445, allocations: 38.73 kB / 0.5591 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.1445, allocations: 8.891 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1447, allocations: 198.6 kB / 0.5593 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.1447, allocations: 384 / 0.5593 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1448, allocations: 4.375 kB / 0.5593 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1449, allocations: 63.34 kB / 0.5594 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1449, allocations: 0 / 0.5594 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1449, allocations: 3.938 kB / 0.5594 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1449, allocations: 0 / 0.5594 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.391e-05/0.145, allocations: 31.97 kB / 0.5594 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.1454, allocations: 268.9 kB / 0.5597 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.1456, allocations: 38.56 kB / 0.5597 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.1457, allocations: 24.88 kB / 0.5598 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1457, allocations: 4 kB / 0.5598 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1457, allocations: 30.56 kB / 0.5598 GB, free: 1.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1457, allocations: 0 / 0.5598 GB, free: 1.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000589/0.1463, allocations: 141.4 kB / 0.5599 GB, free: 1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.1464, allocations: 85.09 kB / 0.56 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1466, allocations: 143.7 kB / 0.5601 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1466, allocations: 33.7 kB / 0.5602 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.1467, allocations: 88.14 kB / 0.5603 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.1467, allocations: 27.77 kB / 0.5603 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.1467, allocations: 17.72 kB / 0.5603 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1469, allocations: 326.8 kB / 0.5606 GB, free: 248 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.147, allocations: 19.92 kB / 0.5606 GB, free: 228 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-05/0.1471, allocations: 41.64 kB / 0.5607 GB, free: 180 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1472, allocations: 44.83 kB / 0.5607 GB, free: 132 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1472, allocations: 0 / 0.5607 GB, free: 132 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001969/0.1474, allocations: 77.56 kB / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1474, allocations: 8 kB / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1474, allocations: 0 / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1474, allocations: 0 / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.1475, allocations: 20.02 kB / 0.5608 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1475, allocations: 4 kB / 0.5608 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.1476, allocations: 3.938 kB / 0.5608 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1476, allocations: 7.984 kB / 0.5608 GB, free: 4 kB / 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.0001123/0.1477, allocations: 116 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1477, allocations: 7.953 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.148, allocations: 85.91 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.148, allocations: 8 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.148, allocations: 0 / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.148, allocations: 3.938 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.1485, allocations: 350.9 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1485, allocations: 4.062 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.1485, allocations: 15.94 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1485, allocations: 288 / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1485, allocations: 11.92 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1485, allocations: 4 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1485, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1488, allocations: 175.5 kB / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.1488, allocations: 81.06 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.1489, allocations: 11.92 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.1489, allocations: 4 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.149, allocations: 4 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.149, allocations: 4 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1491, allocations: 111.2 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1491, allocations: 0 / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.1494, allocations: 47.8 kB / 0.5618 GB, free: 14.87 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.002263/0.1516, allocations: 1.102 MB / 0.5629 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1519, allocations: 47.91 kB / 0.563 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1519, allocations: 0 / 0.563 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.152, allocations: 27.91 kB / 0.563 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1523, allocations: 12 kB / 0.563 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.154, allocations: 1.433 MB / 0.5644 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1544, allocations: 0.6885 MB / 0.5651 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.164e-05/0.1544, allocations: 12.02 kB / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.1545, allocations: 31.34 kB / 0.5651 GB, free: 11.58 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1545, allocations: 0 / 0.5651 GB, free: 11.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.1818, allocations: 3.244 MB / 0.5683 GB, free: 8.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.087, allocations: 12.88 kB / 0.5683 GB, free: 8.336 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19_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_CombiTable1Ds_Test19.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.371231862998684]