Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001685/0.001685, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002659/0.002659, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.92 MB / 357 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 83.88 kB / 0.491 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1332, allocations: 66.04 MB / 0.5555 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003177/0.1364, allocations: 1.624 MB / 0.5571 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1375, allocations: 0.5566 MB / 0.5576 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.1375, allocations: 0 / 0.5576 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.1379, allocations: 123.7 kB / 0.5577 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.1383, allocations: 131.5 kB / 0.5579 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1387, allocations: 111.5 kB / 0.558 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.139, allocations: 99.73 kB / 0.5581 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1391, allocations: 15.98 kB / 0.5581 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.1392, allocations: 55.75 kB / 0.5581 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1393, allocations: 87.77 kB / 0.5582 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1393, allocations: 8 kB / 0.5582 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1395, allocations: 43.98 kB / 0.5583 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.1395, allocations: 23.92 kB / 0.5583 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.1396, allocations: 47.66 kB / 0.5583 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.1398, allocations: 131.3 kB / 0.5585 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1398, allocations: 0 / 0.5585 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1398, allocations: 0 / 0.5585 GB, free: 2.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1398, allocations: 0 / 0.5585 GB, free: 2.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006313/0.1404, allocations: 438.5 kB / 0.5589 GB, free: 1.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1405, allocations: 15.97 kB / 0.5589 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.486e-05/0.1405, allocations: 34.75 kB / 0.5589 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.1406, allocations: 16.84 kB / 0.5589 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1408, allocations: 215.8 kB / 0.5591 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.1408, allocations: 384 / 0.5591 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1409, allocations: 4.375 kB / 0.5592 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.141, allocations: 58.17 kB / 0.5592 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.141, allocations: 3.938 kB / 0.5592 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.141, allocations: 0 / 0.5592 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1411, allocations: 0 / 0.5592 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1412, allocations: 31.97 kB / 0.5592 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.1416, allocations: 308.8 kB / 0.5595 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1418, allocations: 50.44 kB / 0.5596 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.1418, allocations: 20.94 kB / 0.5596 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1418, allocations: 4 kB / 0.5596 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1419, allocations: 34.56 kB / 0.5596 GB, free: 1.078 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.1419, allocations: 0 / 0.5596 GB, free: 1.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000981/0.1429, allocations: 257.5 kB / 0.5599 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.1429, allocations: 55.41 kB / 0.5599 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.1432, allocations: 279.8 kB / 0.5602 GB, free: 476 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1432, allocations: 25.7 kB / 0.5602 GB, free: 444 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.1433, allocations: 112.1 kB / 0.5603 GB, free: 328 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.1433, allocations: 27.75 kB / 0.5604 GB, free: 300 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.1434, allocations: 21.7 kB / 0.5604 GB, free: 272 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1435, allocations: 330.8 kB / 0.5607 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.1436, allocations: 35.98 kB / 0.5607 GB, free: 15.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.678e-05/0.1437, allocations: 31.91 kB / 0.5608 GB, free: 15.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.1439, allocations: 72.81 kB / 0.5608 GB, free: 15.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1439, allocations: 0 / 0.5608 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002577/0.1441, allocations: 117.5 kB / 0.5609 GB, free: 15.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1441, allocations: 8 kB / 0.561 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1441, allocations: 0 / 0.561 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1442, allocations: 4 kB / 0.561 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1443, allocations: 19.92 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1443, allocations: 320 / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.1443, allocations: 4 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1443, allocations: 7.938 kB / 0.561 GB, free: 15.63 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 (8): * Single equations (assignments): 8 * 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.0001092/0.1444, allocations: 137.8 kB / 0.5611 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.1445, allocations: 15.91 kB / 0.5611 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.1448, allocations: 135 kB / 0.5613 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1448, allocations: 0 / 0.5613 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1448, allocations: 3.984 kB / 0.5613 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1448, allocations: 3.938 kB / 0.5613 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.1454, allocations: 439.1 kB / 0.5617 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1454, allocations: 3.938 kB / 0.5617 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.1455, allocations: 20.02 kB / 0.5617 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1455, allocations: 4 kB / 0.5617 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1455, allocations: 3.938 kB / 0.5617 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1455, allocations: 0 / 0.5617 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1455, allocations: 4 kB / 0.5617 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.1458, allocations: 216.3 kB / 0.5619 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.1458, allocations: 96.95 kB / 0.562 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1458, allocations: 7.938 kB / 0.562 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.1459, allocations: 7.984 kB / 0.562 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.146, allocations: 4 kB / 0.562 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.146, allocations: 0 / 0.562 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.1462, allocations: 213.5 kB / 0.5622 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1462, allocations: 0 / 0.5622 GB, free: 14.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1464, allocations: 19.94 kB / 0.5623 GB, free: 14.21 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002167/0.1486, allocations: 1.112 MB / 0.5634 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1488, allocations: 71.94 kB / 0.5634 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1488, allocations: 0 / 0.5634 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1489, allocations: 44.05 kB / 0.5635 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1493, allocations: 19.78 kB / 0.5635 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1514, allocations: 1.844 MB / 0.5653 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1518, allocations: 0.7236 MB / 0.566 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.747e-05/0.1519, allocations: 16.66 kB / 0.566 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.1519, allocations: 43.42 kB / 0.566 GB, free: 10.35 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1519, allocations: 0 / 0.566 GB, free: 10.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.1752, allocations: 3.473 MB / 0.5694 GB, free: 6.922 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.112, allocations: 4 kB / 0.5694 GB, free: 6.918 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.400354227982461]