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.001264/0.001264, allocations: 110 kB / 20.43 MB, free: 1.453 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.001394/0.001394, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 7.984 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.227/0.227, allocations: 46.92 MB / 360.8 MB, free: 4.184 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.00223/0.00223, allocations: 79.88 kB / 0.4962 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2993, allocations: 66.09 MB / 0.5608 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00312/0.3024, allocations: 1.678 MB / 0.5624 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3036, allocations: 0.6083 MB / 0.563 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.3036, allocations: 0 / 0.563 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006288/0.3043, allocations: 455.1 kB / 0.5634 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.3048, allocations: 295.3 kB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.3052, allocations: 175 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.3055, allocations: 191.5 kB / 0.5641 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3056, allocations: 10.06 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3057, allocations: 115.7 kB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.306, allocations: 251.5 kB / 0.5644 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.306, allocations: 4 kB / 0.5644 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3061, allocations: 47.98 kB / 0.5645 GB, free: 464 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.3062, allocations: 91.56 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.846e-05/0.3063, allocations: 115 kB / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.3067, allocations: 286.6 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3067, allocations: 0 / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3067, allocations: 0 / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3067, allocations: 0 / 0.5649 GB, free: 15.96 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.0007549/0.3075, allocations: 0.5931 MB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3075, allocations: 12.03 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.3075, allocations: 38.69 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.3076, allocations: 48.64 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.3079, allocations: 254.6 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3079, allocations: 8.375 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.3079, allocations: 384 / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3081, allocations: 58.23 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3081, allocations: 11.88 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3081, allocations: 0 / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3081, allocations: 4 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3082, allocations: 39.91 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.3087, allocations: 379.8 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.3089, allocations: 46.59 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.3089, allocations: 20.94 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3089, allocations: 0 / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.309, allocations: 34.56 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.309, allocations: 0 / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009571/0.3099, allocations: 332.5 kB / 0.5667 GB, free: 13.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.31, allocations: 51.41 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.3109, allocations: 0.8815 MB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3109, allocations: 29.7 kB / 0.5677 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.3111, allocations: 224.1 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.3111, allocations: 31.73 kB / 0.5679 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.3111, allocations: 17.72 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3113, allocations: 366.8 kB / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-05/0.3114, allocations: 31.92 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.3115, allocations: 31.97 kB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.3116, allocations: 76.83 kB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3116, allocations: 0 / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003094/0.312, allocations: 153.3 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.312, allocations: 8 kB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.312, allocations: 0 / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.312, allocations: 0 / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3121, allocations: 23.92 kB / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3121, allocations: 0 / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.3122, allocations: 11.94 kB / 0.5686 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3122, allocations: 3.938 kB / 0.5686 GB, free: 11.99 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.0002092/0.3124, allocations: 219.1 kB / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.3124, allocations: 39.72 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.3128, allocations: 181.8 kB / 0.569 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3128, allocations: 4 kB / 0.569 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3128, allocations: 0 / 0.569 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3128, allocations: 4.359 kB / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000695/0.3135, allocations: 0.4982 MB / 0.5695 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3135, allocations: 0 / 0.5695 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.872e-05/0.3136, allocations: 15.98 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3136, allocations: 7.938 kB / 0.5696 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.3136, allocations: 4.031 kB / 0.5696 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3136, allocations: 7.938 kB / 0.5696 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3136, allocations: 7.984 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.3139, allocations: 240 kB / 0.5698 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.314, allocations: 51.59 kB / 0.5699 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.314, allocations: 4 kB / 0.5699 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.3141, allocations: 8 kB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.3141, allocations: 7.984 kB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3141, allocations: 4 kB / 0.5699 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006448/0.3148, allocations: 0.6589 MB / 0.5705 GB, free: 9.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3148, allocations: 0 / 0.5705 GB, free: 9.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.315, allocations: 31.98 kB / 0.5706 GB, free: 9.914 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.002184/0.3172, allocations: 1.138 MB / 0.5717 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.3174, allocations: 71.95 kB / 0.5717 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3175, allocations: 0 / 0.5717 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.3175, allocations: 39.91 kB / 0.5718 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.318, allocations: 26.3 kB / 0.5718 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.3218, allocations: 3.396 MB / 0.5751 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.3223, allocations: 0.8299 MB / 0.5759 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.359e-05/0.3224, allocations: 24.36 kB / 0.5759 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3225, allocations: 123.4 kB / 0.5761 GB, free: 4.277 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3225, allocations: 0 / 0.5761 GB, free: 4.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.3552, allocations: 6.643 MB / 0.5826 GB, free: 13.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.73, allocations: 11 kB / 0.5826 GB, free: 13.66 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.728616029002296]