Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001862/0.001862, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.00227/0.00227, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.472/1.472, allocations: 230.4 MB / 254 MB, free: 15.04 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.2284/0.2284, 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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 79.89 kB / 0.491 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1309, allocations: 66.04 MB / 0.5555 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003943/0.1349, allocations: 1.621 MB / 0.5571 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.136, allocations: 0.5449 MB / 0.5576 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.981e-05/0.1361, allocations: 3.938 kB / 0.5576 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.1365, allocations: 99.73 kB / 0.5577 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.1369, allocations: 103.6 kB / 0.5578 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.1373, allocations: 91.75 kB / 0.5579 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.1375, allocations: 87.75 kB / 0.558 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1376, allocations: 11.98 kB / 0.558 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.353e-05/0.1377, allocations: 39.78 kB / 0.558 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1378, allocations: 63.81 kB / 0.5581 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1378, allocations: 4 kB / 0.5581 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.138, allocations: 47.97 kB / 0.5581 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.138, allocations: 23.92 kB / 0.5582 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.1381, allocations: 31.73 kB / 0.5582 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1383, allocations: 111.5 kB / 0.5583 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1383, allocations: 0 / 0.5583 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1383, allocations: 7.938 kB / 0.5583 GB, free: 2.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1383, allocations: 3.938 kB / 0.5583 GB, free: 2.633 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.0005851/0.1389, allocations: 422.7 kB / 0.5587 GB, free: 2.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.139, allocations: 12.03 kB / 0.5587 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.139, allocations: 30.75 kB / 0.5588 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.1391, allocations: 20.77 kB / 0.5588 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1393, allocations: 196.2 kB / 0.559 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1393, allocations: 4.375 kB / 0.559 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1393, allocations: 12.31 kB / 0.559 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1395, allocations: 54.19 kB / 0.559 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1395, allocations: 3.938 kB / 0.559 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1395, allocations: 4 kB / 0.559 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1395, allocations: 4 kB / 0.559 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1396, allocations: 31.95 kB / 0.5591 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.1401, allocations: 288.8 kB / 0.5593 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1402, allocations: 46.5 kB / 0.5594 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.1403, allocations: 12.94 kB / 0.5594 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.1403, allocations: 8 kB / 0.5594 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.1403, allocations: 34.56 kB / 0.5594 GB, free: 1.297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.1403, allocations: 0 / 0.5594 GB, free: 1.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009871/0.1413, allocations: 233.6 kB / 0.5597 GB, free: 1.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1414, allocations: 55.41 kB / 0.5597 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.1416, allocations: 226.7 kB / 0.5599 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1417, allocations: 25.7 kB / 0.56 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.1417, allocations: 108.1 kB / 0.5601 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.1418, allocations: 31.73 kB / 0.5601 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.1418, allocations: 17.72 kB / 0.5601 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.142, allocations: 330.8 kB / 0.5604 GB, free: 240 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.1421, allocations: 31.97 kB / 0.5605 GB, free: 208 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.1421, allocations: 23.92 kB / 0.5605 GB, free: 184 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1423, allocations: 60.83 kB / 0.5605 GB, free: 120 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1423, allocations: 0 / 0.5605 GB, free: 120 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002264/0.1425, allocations: 105.6 kB / 0.5606 GB, free: 8 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1425, allocations: 4 kB / 0.5606 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.1426, allocations: 4.062 kB / 0.5606 GB, free: 16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1426, allocations: 3.984 kB / 0.5606 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1427, allocations: 23.92 kB / 0.5607 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1427, allocations: 0 / 0.5607 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.1427, allocations: 11.92 kB / 0.5607 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1428, allocations: 7.938 kB / 0.5607 GB, free: 15.95 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.0001019/0.1429, allocations: 126.9 kB / 0.5608 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.1429, allocations: 11.95 kB / 0.5608 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.1432, allocations: 131.2 kB / 0.5609 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1432, allocations: 7.938 kB / 0.561 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1432, allocations: 0 / 0.561 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1432, allocations: 0 / 0.561 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.1438, allocations: 403.2 kB / 0.5613 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1438, allocations: 0 / 0.5613 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/0.1439, allocations: 31.95 kB / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1439, allocations: 0 / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1439, allocations: 3.938 kB / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.1439, allocations: 4 kB / 0.5614 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1439, allocations: 0 / 0.5614 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.1442, allocations: 200.3 kB / 0.5616 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.1442, allocations: 89.06 kB / 0.5617 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1443, allocations: 7.938 kB / 0.5617 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.1443, allocations: 7.984 kB / 0.5617 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.1444, allocations: 11.88 kB / 0.5617 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1444, allocations: 3.984 kB / 0.5617 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.1446, allocations: 175.2 kB / 0.5618 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1446, allocations: 0 / 0.5618 GB, free: 14.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1449, allocations: 23.95 kB / 0.5619 GB, free: 14.62 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.002373/0.1473, allocations: 1.094 MB / 0.5629 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1475, allocations: 59.91 kB / 0.563 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1475, allocations: 0 / 0.563 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/0.1476, allocations: 35.92 kB / 0.563 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.148, allocations: 27.05 kB / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.1502, allocations: 1.704 MB / 0.5647 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.1506, allocations: 0.7158 MB / 0.5654 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.852e-05/0.1507, allocations: 12.66 kB / 0.5654 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.1507, allocations: 35.42 kB / 0.5655 GB, free: 10.97 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1507, allocations: 0 / 0.5655 GB, free: 10.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1763, allocations: 3.208 MB / 0.5686 GB, free: 7.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.278, allocations: 4.625 kB / 0.5686 GB, free: 7.797 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.43430793902371]