Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001567/0.001567, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001407/0.001407, allocations: 212.4 kB / 23.73 MB, free: 4.164 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.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2299/0.2299, allocations: 46.95 MB / 360.8 MB, free: 3.926 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 75.88 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3485, allocations: 66.09 MB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003146/0.3517, allocations: 1.659 MB / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3528, allocations: 0.5656 MB / 0.5629 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.3528, allocations: 3.938 kB / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.3534, allocations: 443.2 kB / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.3539, allocations: 307.2 kB / 0.5636 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.3543, allocations: 171 kB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.3546, allocations: 179.7 kB / 0.5639 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3547, allocations: 14.06 kB / 0.564 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3548, allocations: 115.7 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.3551, allocations: 251.4 kB / 0.5643 GB, free: 320 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3551, allocations: 7.984 kB / 0.5643 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3552, allocations: 55.98 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.3553, allocations: 83.69 kB / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.3554, allocations: 71.23 kB / 0.5645 GB, free: 100 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.3558, allocations: 306.6 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3558, allocations: 0 / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3558, allocations: 0 / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.3558, allocations: 0 / 0.5648 GB, free: 15.79 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007451/0.3565, allocations: 0.5931 MB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3566, allocations: 12.03 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.3566, allocations: 34.75 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.3567, allocations: 44.66 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.357, allocations: 250.8 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.357, allocations: 4.375 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.357, allocations: 4.375 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3572, allocations: 70.17 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3572, allocations: 7.938 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3572, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3572, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3573, allocations: 35.97 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.3578, allocations: 375.7 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.3579, allocations: 42.56 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.358, allocations: 16.94 kB / 0.5662 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.358, allocations: 8 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.358, allocations: 38.59 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.358, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000952/0.359, allocations: 324.5 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.359, allocations: 55.41 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.3599, allocations: 0.8776 MB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3599, allocations: 33.69 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.3601, allocations: 224 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.3601, allocations: 35.72 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.3602, allocations: 21.72 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3604, allocations: 362.8 kB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.3604, allocations: 27.98 kB / 0.5682 GB, free: 12.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.134e-05/0.3605, allocations: 36.03 kB / 0.5682 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.3607, allocations: 76.83 kB / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3607, allocations: 0 / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002684/0.361, allocations: 149.3 kB / 0.5684 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.361, allocations: 14.17 kB / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.361, allocations: 3.938 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.361, allocations: 0 / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3611, allocations: 15.98 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3611, allocations: 4 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.3612, allocations: 7.938 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3612, allocations: 8 kB / 0.5685 GB, free: 11.82 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 (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.0001978/0.3614, allocations: 217.8 kB / 0.5687 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.3614, allocations: 39.72 kB / 0.5687 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.3618, allocations: 177.5 kB / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3618, allocations: 0 / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3618, allocations: 0 / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3618, allocations: 3.938 kB / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.3625, allocations: 498.6 kB / 0.5694 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3625, allocations: 0 / 0.5694 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.3626, allocations: 19.98 kB / 0.5694 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3626, allocations: 7.938 kB / 0.5694 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3626, allocations: 4 kB / 0.5694 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3626, allocations: 3.938 kB / 0.5694 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3626, allocations: 4 kB / 0.5694 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.3629, allocations: 256.5 kB / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.3629, allocations: 43.61 kB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.363, allocations: 4 kB / 0.5697 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.42e-05/0.3631, allocations: 7.984 kB / 0.5697 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3631, allocations: 4 kB / 0.5697 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.3631, allocations: 0 / 0.5697 GB, free: 10.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006457/0.3638, allocations: 0.6628 MB / 0.5704 GB, free: 9.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3638, allocations: 0 / 0.5704 GB, free: 9.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.364, allocations: 27.98 kB / 0.5704 GB, free: 9.773 MB / 414.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.002298/0.3663, allocations: 1.165 MB / 0.5715 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.3666, allocations: 87.86 kB / 0.5716 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3666, allocations: 0 / 0.5716 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/0.3666, allocations: 35.98 kB / 0.5716 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.367, allocations: 31.75 kB / 0.5717 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.3709, allocations: 3.392 MB / 0.575 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3712, allocations: 228.1 kB / 0.5752 GB, free: 4.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.678e-05/0.3712, allocations: 28.7 kB / 0.5752 GB, free: 4.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3714, allocations: 119.4 kB / 0.5754 GB, free: 4.734 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3714, allocations: 112 / 0.5754 GB, free: 4.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.4047, allocations: 6.983 MB / 0.5822 GB, free: 13.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.53, allocations: 11.45 kB / 0.5822 GB, free: 13.75 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.636691179126501]