Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001286/0.001286, allocations: 112.5 kB / 20.43 MB, free: 1.469 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.001498/0.001498, allocations: 213 kB / 23.74 MB, free: 4.695 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 8.039 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.2232/0.2232, allocations: 46.94 MB / 360.8 MB, free: 4.195 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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 75.88 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2981, allocations: 66.09 MB / 0.5608 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.00291/0.301, allocations: 1.635 MB / 0.5624 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.302, allocations: 0.5577 MB / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.302, allocations: 8 kB / 0.5629 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3023, allocations: 79.7 kB / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.3026, allocations: 103.6 kB / 0.5631 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.3029, allocations: 115.7 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.3031, allocations: 87.69 kB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.3032, allocations: 13.81 kB / 0.5633 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.3032, allocations: 27.92 kB / 0.5633 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.3033, allocations: 75.73 kB / 0.5634 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3034, allocations: 4 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3035, allocations: 47.92 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.3035, allocations: 23.91 kB / 0.5635 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.3036, allocations: 31.75 kB / 0.5635 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.3038, allocations: 107.5 kB / 0.5636 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3038, allocations: 0 / 0.5636 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3038, allocations: 0 / 0.5636 GB, free: 1.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.3038, allocations: 0 / 0.5636 GB, free: 1.395 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000479/0.3043, allocations: 341.6 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3043, allocations: 12.03 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.3043, allocations: 34.73 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.3044, allocations: 16.84 kB / 0.564 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.3045, allocations: 147 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3046, allocations: 4.375 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3046, allocations: 4.375 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.3047, allocations: 50.23 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3047, allocations: 3.938 kB / 0.5642 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3047, allocations: 4 kB / 0.5642 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3047, allocations: 8 kB / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.3048, allocations: 27.97 kB / 0.5642 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3053, allocations: 267.8 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.3054, allocations: 54.55 kB / 0.5645 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.3054, allocations: 12.86 kB / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3054, allocations: 8 kB / 0.5645 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3055, allocations: 34.64 kB / 0.5646 GB, free: 252 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.3055, allocations: 0 / 0.5646 GB, free: 252 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009001/0.3064, allocations: 249.2 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.3064, allocations: 55.41 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.3066, allocations: 210.2 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3067, allocations: 25.7 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.3067, allocations: 108.1 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3068, allocations: 31.73 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.3068, allocations: 21.72 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3069, allocations: 326.8 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.307, allocations: 35.97 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.3071, allocations: 31.92 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.3073, allocations: 73.05 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3073, allocations: 0 / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002368/0.3075, allocations: 121.5 kB / 0.5658 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3075, allocations: 6.188 kB / 0.5658 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3075, allocations: 4 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3076, allocations: 4 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3077, allocations: 16.41 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3077, allocations: 0 / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.3077, allocations: 8 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3077, allocations: 7.938 kB / 0.5659 GB, free: 14.88 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.0001073/0.3078, allocations: 123.1 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.3079, allocations: 15.91 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.3082, allocations: 139 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.3082, allocations: 3.984 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3082, allocations: 0 / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3082, allocations: 0 / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.3088, allocations: 394.3 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3088, allocations: 0 / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.3088, allocations: 24.02 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3088, allocations: 0 / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3089, allocations: 7.938 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3089, allocations: 4 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3089, allocations: 4 kB / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3091, allocations: 212.2 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.3092, allocations: 15.91 kB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.3092, allocations: 3.938 kB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.3093, allocations: 4 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.3093, allocations: 7.984 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3093, allocations: 4 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.3094, allocations: 164.2 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3094, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.3097, allocations: 27.92 kB / 0.567 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.002167/0.3119, allocations: 1.096 MB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3121, allocations: 75.88 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3121, allocations: 0 / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.3122, allocations: 39.97 kB / 0.5681 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.0003729/0.3126, allocations: 15.98 kB / 0.5682 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.3147, allocations: 1.72 MB / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.315, allocations: 0.708 MB / 0.5705 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.988e-05/0.3151, allocations: 28.98 kB / 0.5706 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.3152, allocations: 39.36 kB / 0.5706 GB, free: 9.965 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3152, allocations: 0 / 0.5706 GB, free: 9.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.3435, allocations: 3.32 MB / 0.5738 GB, free: 6.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.17, allocations: 10.27 kB / 0.5738 GB, free: 6.668 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.20963761999883]