Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001537/0.001537, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001463/0.001463, allocations: 212.4 kB / 23.74 MB, free: 4.656 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2798/0.2798, allocations: 44.91 MB / 358.8 MB, free: 6.293 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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",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.002032/0.002032, allocations: 67.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3491, allocations: 65.47 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003462/0.3526, allocations: 1.696 MB / 0.5587 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3538, allocations: 0.5699 MB / 0.5593 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.3538, allocations: 0 / 0.5593 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.3545, allocations: 455.1 kB / 0.5597 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.355, allocations: 291.3 kB / 0.56 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.3553, allocations: 135.6 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.3556, allocations: 175.6 kB / 0.5603 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3557, allocations: 17.81 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3558, allocations: 119.7 kB / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.3561, allocations: 243.5 kB / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3562, allocations: 0 / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3563, allocations: 59.97 kB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3564, allocations: 83.62 kB / 0.5608 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.3565, allocations: 107 kB / 0.5609 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.3568, allocations: 286.4 kB / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3568, allocations: 0 / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3568, allocations: 0 / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.3568, allocations: 0 / 0.5611 GB, free: 3.566 MB / 398.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.0008354/0.3577, allocations: 0.597 MB / 0.5617 GB, free: 2.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3577, allocations: 12.03 kB / 0.5617 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.3578, allocations: 30.75 kB / 0.5618 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.3578, allocations: 44.66 kB / 0.5618 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.3581, allocations: 254.7 kB / 0.5621 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.3581, allocations: 4.375 kB / 0.5621 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3582, allocations: 4.375 kB / 0.5621 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.3583, allocations: 57.61 kB / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3583, allocations: 4 kB / 0.5621 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3583, allocations: 4 kB / 0.5621 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3583, allocations: 3.938 kB / 0.5621 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3584, allocations: 35.89 kB / 0.5622 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.359, allocations: 371.8 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.3591, allocations: 46.59 kB / 0.5626 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.3592, allocations: 12.86 kB / 0.5626 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3592, allocations: 0 / 0.5626 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3592, allocations: 38.64 kB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3592, allocations: 0 / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009461/0.3602, allocations: 320.5 kB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3602, allocations: 59.34 kB / 0.563 GB, free: 1.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009581/0.3612, allocations: 0.866 MB / 0.5638 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.3612, allocations: 29.7 kB / 0.5638 GB, free: 0.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.3614, allocations: 232 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.3614, allocations: 31.73 kB / 0.5641 GB, free: 372 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.3615, allocations: 17.72 kB / 0.5641 GB, free: 348 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.3617, allocations: 362.8 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.3619, allocations: 23.98 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.392e-05/0.362, allocations: 27.98 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.3621, allocations: 68.77 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3621, allocations: 0 / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003315/0.3624, allocations: 137.4 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3625, allocations: 8 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3625, allocations: 0 / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3625, allocations: 0 / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3626, allocations: 19.92 kB / 0.5647 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3626, allocations: 4 kB / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.3627, allocations: 4 kB / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3627, allocations: 11.98 kB / 0.5648 GB, free: 15.67 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.0002104/0.3629, allocations: 213.7 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.3629, allocations: 47.67 kB / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.3633, allocations: 153.6 kB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.3633, allocations: 3.938 kB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3633, allocations: 7.984 kB / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3633, allocations: 0 / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.364, allocations: 482.2 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.364, allocations: 4 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.3641, allocations: 19.92 kB / 0.5656 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3641, allocations: 0 / 0.5656 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3641, allocations: 4 kB / 0.5656 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3641, allocations: 4.5 kB / 0.5656 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3641, allocations: 0 / 0.5656 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.3645, allocations: 251.9 kB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.3645, allocations: 39.7 kB / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.3645, allocations: 0 / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.3646, allocations: 12 kB / 0.5659 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.3647, allocations: 11.92 kB / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3647, allocations: 0 / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006935/0.3654, allocations: 0.6628 MB / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3654, allocations: 0 / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3657, allocations: 31.94 kB / 0.5666 GB, free: 13.65 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.002487/0.3682, allocations: 1.132 MB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.3684, allocations: 67.89 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3684, allocations: 0 / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.3685, allocations: 31.92 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.369, allocations: 33.73 kB / 0.5679 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.3735, allocations: 3.339 MB / 0.5711 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.374, allocations: 0.8265 MB / 0.5719 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.397e-05/0.3741, allocations: 20.7 kB / 0.5719 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.3743, allocations: 115.4 kB / 0.5721 GB, free: 8.129 MB / 414.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3743, allocations: 0 / 0.5721 GB, free: 8.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.4071, allocations: 6.558 MB / 0.5785 GB, free: 1.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.11, allocations: 11.11 kB / 0.5785 GB, free: 1.633 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.296258826994745]