Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.00176/0.00176, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002078/0.002078, allocations: 214.1 kB / 23.73 MB, free: 4.387 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2257/0.2257, allocations: 46.97 MB / 360.9 MB, free: 4.023 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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3173, allocations: 66.04 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003023/0.3203, allocations: 1.661 MB / 0.5622 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3214, allocations: 0.566 MB / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.3214, allocations: 4 kB / 0.5628 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.322, allocations: 451.1 kB / 0.5632 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.3225, allocations: 295.3 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.3229, allocations: 179.2 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.3231, allocations: 179.6 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.3232, allocations: 18.05 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.3233, allocations: 115.7 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.3236, allocations: 255.5 kB / 0.5642 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3236, allocations: 4 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3237, allocations: 55.97 kB / 0.5643 GB, free: 448 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.839e-05/0.3238, allocations: 87.62 kB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.3239, allocations: 71.25 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.3242, allocations: 298.4 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3243, allocations: 3.938 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3243, allocations: 0 / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3243, allocations: 4 kB / 0.5647 GB, free: 15.98 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.0007375/0.325, allocations: 0.5892 MB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.325, allocations: 12.03 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.3251, allocations: 38.73 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.3251, allocations: 44.66 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3254, allocations: 246.8 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3254, allocations: 4.375 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.3255, allocations: 4.375 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3256, allocations: 65.55 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3256, allocations: 8 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.3256, allocations: 4 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3256, allocations: 3.938 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.3257, allocations: 35.97 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.3263, allocations: 375.7 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3264, allocations: 46.55 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.3264, allocations: 12.86 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3265, allocations: 4 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3265, allocations: 34.59 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3265, allocations: 4 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009391/0.3274, allocations: 336.8 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.3275, allocations: 55.34 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008784/0.3284, allocations: 0.8738 MB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.3284, allocations: 29.7 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.3286, allocations: 224.1 kB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.3286, allocations: 31.73 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3287, allocations: 21.72 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3288, allocations: 362.8 kB / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.904e-05/0.3289, allocations: 31.97 kB / 0.5681 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.311e-05/0.329, allocations: 27.98 kB / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3292, allocations: 76.8 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3292, allocations: 0 / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002625/0.3295, allocations: 157.5 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3295, allocations: 4 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3295, allocations: 4 kB / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3295, allocations: 3.938 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.3296, allocations: 19.92 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3296, allocations: 4.062 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.3296, allocations: 4 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3297, allocations: 11.98 kB / 0.5684 GB, free: 12.02 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.000197/0.3299, allocations: 213.8 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.3299, allocations: 43.72 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.3303, allocations: 177.4 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3303, allocations: 3.938 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3303, allocations: 0 / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3303, allocations: 3.984 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.3309, allocations: 498.2 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3309, allocations: 3.938 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.331, allocations: 19.98 kB / 0.5693 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.331, allocations: 4 kB / 0.5693 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.331, allocations: 4 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.331, allocations: 3.938 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.331, allocations: 3.984 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.3313, allocations: 252 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.3314, allocations: 39.7 kB / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3314, allocations: 11.98 kB / 0.5696 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.3315, allocations: 4 kB / 0.5696 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.3316, allocations: 3.984 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3316, allocations: 4 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006562/0.3322, allocations: 0.6628 MB / 0.5703 GB, free: 9.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3322, allocations: 0 / 0.5703 GB, free: 9.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.3325, allocations: 24 kB / 0.5703 GB, free: 9.965 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.00228/0.3348, allocations: 1.181 MB / 0.5715 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.335, allocations: 79.88 kB / 0.5715 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.335, allocations: 0 / 0.5715 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.3351, allocations: 43.97 kB / 0.5716 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.3355, allocations: 28.42 kB / 0.5716 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.3396, allocations: 3.396 MB / 0.5749 GB, free: 5.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3398, allocations: 232.1 kB / 0.5751 GB, free: 5.094 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.464e-05/0.3399, allocations: 20.73 kB / 0.5752 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.34, allocations: 123.4 kB / 0.5753 GB, free: 4.953 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.34, allocations: 0 / 0.5753 GB, free: 4.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.3745, allocations: 7.016 MB / 0.5821 GB, free: 13.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.56, allocations: 6.172 kB / 0.5821 GB, free: 13.98 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_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_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.654753937007627]